Projects
#PROJECT1
VAR1=int(input("What year were you born? "))
VAR2=2020
VAR3=VAR2-VAR1
print("You are:")
print(VAR3)
print("years old")
"""I wish I could write the complete phrase in one line instead of 3, how do I do it?
#PROJECT2 - Infinite Name
NAME=input("What´s your name?")
i=0
while i
print(NAME)
#PROJECT3
#Multiply
num1=int(input("Choose a number and I tell you how many years you have left: "))
def add (num1, num2): print(num1 num2)
def sub (num1, num2): print(num1 - num2)
def mul (num1, num2): print(num1 * num2)
def div (num1, num2):
print(num1 / num2)
import randomnum2=10
if num1 == num2:
print(add (num1, num2))
if num1 > num2:
print(div(num1, num2))
elif num1
print(mul (num1, num2))
else:
print(sub(num1, num2))