try, raise, assert, except 22/5

Run Settings
LanguagePython
Language Version
Run Command
try: x=1 y=x+1 if y==2: raise except: print("y is 2") def a(): print("function a") return False try: x=1 y=x+1 if y==2: assert a(), 'assertion error' #assert exp1, exp2 except AssertionError as msgg: print(msgg)
Editor Settings
Theme
Key bindings
Full width
Lines