Data Types

Run Settings
LanguagePython
Language Version
Run Command
#Fundamental Data Types #inst and float print(type(2+4)) print(type(2-4)) print(type(2*4)) print(type(2/4)) print(2**3) # 2 to the power 3 print(2//4) # returns int. rounds down to the nearest integer print(6%4) #5 modulo 4. gives remainder of the division.
#Fundamental Data Types int float bool str list tuple set dict #Classes -> custom types #Specialized Data Types None
#Fundamental Data Types int #integers or whole numbers. used to do mathematical operations float # a number with decimal point. print(type(2+4)) print(type(2-4)) print(type(2*4)) print(type(2/4))
#math functions round(3.1)
Editor Settings
Theme
Key bindings
Full width
Lines