Skip to content

Instantly share code, notes, and snippets.

View GreggX's full-sized avatar
🎯
Focusing

Gregorio González GreggX

🎯
Focusing
  • Guadalajara, MX
View GitHub Profile
while True:
number = int(input("Give me a number: "))
mod = number % 2
## extra 1
multiple_of_four = number % 4
if multiple_of_four == 0:
print("Your number is multiple of four!")
elif mod == 0:
print("Your number is odd!")
else:
name = input("Give me your name: ")
print ("Hi " + name + "!")
age = int(input("Give me your age: "))
res = 100 - age
year = 2017 + res
print("You will turn 100 years in the year " + str(year))
number = int(input("Enter a number: "))
print("Your number is: ")
print(10 * str(number))