Fundamental Data Types

Run Settings
LanguagePython
Language Version
Run Command
#Fundamental Data Types #int and float # print(type(2+4)) # print(type(2-4)) # print(type(2*4)) # print(type(2/4)) #0.5 # print(type(0)) # print(type(9.9+1.1)) # print(2**3) #works as 2^3=8 # print(2//4) # print(9//4) #works 9/4 and gives output only the quotient # print(6%4) # gives the output as remainder of 6/4 #Math Functions # print(round(3.4)) # print(abs(-20.6)) # print(round(abs(-20.6))) #operator precedence print(20 - 3 * 4) print((20 - 3)+ 2**2) # () # ** # */ # +- print(bin(256)) print(int("0b101",2))
Editor Settings
Theme
Key bindings
Full width
Lines