โ† Back to Exercises
๐Ÿž

Fixing Errors โ€ข Exercise 100 of 112

try, except, and finally

Mediumโญ 35 XP๐Ÿ† Your XP: 0

๐ŸŽฏ Your Mission

Try to turn the text "abc" into a number with int(). Catch the ValueError and print "That is not a number!". Add a finally part that prints "All done!".

๐Ÿ main.pyTab = 4 spaces โ€ข Ctrl+Enter = Run
โ–ถ Output
Press โ–ถ Run to see what your code does!