โ† All lessons

Lesson 26 of 62 ยท about 14 minutes

Handling Errors ๐Ÿ›ก๏ธ

Handling Errors ๐Ÿ›ก๏ธ Things go wrong: files go missing, users type letters where numbers should be. Good programs expect that. try: n = int("forty two") except ValueError: print("That was not a number") Multiple exceptions, else and finally try: result = 10 /โ€ฆ

The video for this lesson is out Tuesday 15 December at 6pm.

The video lesson is a free preview.

This lesson is part of Pythonaut Pro. The first two lessons are free, so you can start there and see how it works.

See the free lessons