to know basic python commands. print('id: ', 1) print('First Name: ', 'Steve') print('Last Name: ', 'Jobs')
if 100 > 99 and
200 <= 300 and
True != False:
print('Hello World!')
#(if else statement)
if 10 > 5: # 1st block starts
print("10 is greater than 5") # 1st block
print("Now checking 20 > 10") # 1st block
if 20 > 10: # 1st block
print("20 is greater than 10") # inner block
elif: # 2nd block starts
print("10 is less than 5") # 2nd block
print("This will never print") # 2nd block
#elif block
def SayHello(name):
print("Hello ", name)
print("Welcome to Python Tutorials")
#function block