P.35(Boolean)

Run Settings
LanguagePython
Language Version
Run Command
#print(True,False,type(True)) #print(False==0) x=True and 1 and [1] and{0} and -1.0 and "hello"#truthy value print(x) y=False or 0 or [] or {} or None or 0.0#falsy value print(y) #====================================================== default_city='kw' city='' city=city or print("please input city") or default_city print(city)
Editor Settings
Theme
Key bindings
Full width
Lines