9/4/2024

Run Settings
LanguagePython
Language Version
Run Command
#TUPLE if 1==1: print("1 equals 1") if 1==2: print("python is worng") print("888this code is executed no matter what") a=[1, 2, 3]
import dis def fib1(n): if n < 2: return n current, next = 0,1 while n: current, next = next, current + next n -= 1 return current
a ="hello" print(type(a)) a=10 print(type(a)) print(id(a)) a=a+1 print(id(a)) a=[1,2,3] print(id(a)) a.append(4)
high2024Order=1 #global variable def f1(): print("i ame fro function 1") return def f3(): print("i am from function3") return def f2(high2024Order,h02): print(id(high2024Order)) #local variable a=5 if a==10: high2024Order() else: h02() print("888") return print(id(high2024Order)) f2(f1,f3) x, y, z = "Orange", "Banana", "Cherry" #Truple to truple print(x); print(y); print(z) print("\n") x= y= z = "Orange"#Truple to truple print(x); print(y); print(z)
Editor Settings
Theme
Key bindings
Full width
Lines