how to be a python tutor code example
Example 1: python tutorial
print ("Hello, Python!");
Example 2: python tutorial
print("Hello World");
variable = input("What is your favorite corn flavour");
print(variable)
for i in range(4):
print("This will happen 4 times");
while(True):
print("This will run forever and will crash terminal");
Example 3: python tutorial
# printing hello world in python
print("Hello World")
# adding 2 numbers
num1 = 10
num2 = 20
print(num1 + num2)