Python basics
Python syntax rules
No use of semicolons for line terminator
No use of datatype for variable , it assign datatype at runtime.
x=20 auto integer assign
a='abc' auto string assign
f= 20.5 auto float assign
print(x ,' ' , y ,' ' ,z)
Spaces and Indentation are very meaningful in python.
Suppose how you will tell the compiler that particular line of code is in particular if and loop statement.
Let`s look to the example of if statement
if(x==3):
print('print is inside if statement')
print('print is outside if statement')
Let`s look to the example of loop statement
while(x==4):
print('print is inside if statement')
print('print is outside if statement')