My Learning

Run Settings
LanguagePython
Language Version
Run Command
# print("Hello World!") # print("hello Sami") # name= "sami" # print("hello " + name ) # print(5+2) # print(5-2) # print(5*2) # print(5/2) # print(5//2) # print(5**2) # print(5%2) # print(type(5+2)) # print(type(5-2)) # print(type(5*2)) # print(type(5/2)) # print(type(5**2)) # print(type(5%2)) # print(round(5+2)) # print(round(5-2)) # print(round(5*2)) # print(round(5/2)) # print(round(5//2)) # print(round(5**2)) # print(round(5%2)) # print(round(4.32)) # print(round(4.56)) # print(abs(5+2)) # print(abs(5-2)) # print(abs(5*2)) # print(abs(5/2)) # print(abs(5//2)) # print(abs(5**2)) # print(abs(-5%2)) # print(abs(-3.56)) # Mathematical operations and order of precedence # () parenthesis # ** Exponent # * / Multiplication and divisions # + - addition and subtraction # PEMDAS # print((20+4)*2) # print((20+4)*2**2) # print((20+4)*(3+2**2)) # Variables # box= "shoes" # print(box) # 4 big no no for variables naming # 1.No Number sign before variable and middle and last is accepted # e.g 4box= shoes # print(4box) #number is accepted in middle and last of variable is accepted # box4 = 'shoes' # print('box4') #2. no special characters before variables and anywhere in variable !@#$%^&*() # 3. No space between variables # my box= incorrect # can write like this # my_box= 'shoes' # print(my_box) # 4. varible should not be the name of print in function # print= 'shoes' # print(print) # python statement and expression #statement # a= 10 # print(a) # a,b= 10,20 # print(a,b) # a,b= 10,20/3 # print(a,b) # 20/3= expression # augmented assignment operator # a= 10 # a= a+20 # print(a) # a= 10 # a+=20 # print(a) # a= 10 # a-=20 # print(a) # a= 10 # a*=20 # # a= a*10 # print(a) # message= "this is sami's message" # print(message) # quote= ' sami said: " never give up" ' # print(quote) # multi_line= ''' # sami said: " never give up" # sami said: " never give up" # sami said: " never give up" # ''' # print(multi_line)
Editor Settings
Theme
Key bindings
Full width
Lines