Day 13 -  Part D

Run Settings
LanguagePython
Language Version
Run Command
# try & except def a(): pass x='1' y= 0 try: print(x/y) except: print("data error") finally: print("this line of code will run, no matter what") #finally should follow with try & except # except ZeroDivisionError: # print("Y is zero, can't compute") #(when y = 0) # except TypeError: # print("Please input numeric value")#(when x='1') # except NameError: # print("please input numeric value instead of unknown symbol")#(when a is function)
Editor Settings
Theme
Key bindings
Full width
Lines