ternary if

Run Settings
LanguagePython
Language Version
Run Command
x=1 def a(y): print (y) if x>0: x=x+1 else: x=x-1 print (x) #ternary if x=-1 z=a(x+1 if x>0 else x-1) print (z)
Editor Settings
Theme
Key bindings
Full width
Lines