Lecture 6

Run Settings
LanguagePython
Language Version
Run Command
result=25*44 print(result) print((25<<5)+(25<<3)+(25<<2)) binary_result=((25<<5)+(25<<3)+(25<<2)) print (f'{binary_result:b}') # def def a(): x=1 y=2 z=3 print(x,y,z) print(a) a() a() def a(x,y,z=1): # @ line.1.5, x=1, y=2, z=3 result=x+y+z print('function a result :',result) print('x:',x,'y:',y,'z:',z) print(f'x: {x} y: {y} z: {z}') return result print (a) result=a(1,2)+a(z=2,y=4,x=6)+a(3,6,9) print (result)
Editor Settings
Theme
Key bindings
Full width
Lines