Numbers

Run Settings
LanguagePython
Language Version
Run Command
#Fundamental Data Types #int and float print(2+4) #6 print(2-4) #-2 print(2*4) #8 print(2/4) #0.5 print(type(2+4)) #Type means what data type is this: <class 'int'> print(type(2-4)) # <class 'int'> print(type(2*4)) # <class 'int'> print(type(2/4)) # <class 'float'> print(type(0.00001)) # <class 'float'> print(type(0)) # <class 'int'> print(type(20+1.1)) # <class 'float'> print (2**2) #2 to the power of 2 = 4 print(2**3) #2 to the power of 3 = 8 print(2//4) #rounded down = 0 print(3//4) #0 print(5//4) #1 print(5%4) #1 print(6%4) #2 print(7%4) #3
Editor Settings
Theme
Key bindings
Full width
Lines