I need to print the result of each Num to make a face. By putting three pairs of numbers, each one will give you a symbol, and in the end I need to print together all the symbols received before.
Num1 = int(input("Tell me a whole number: "))
if Num1 % 6 == 0:
print (":")
elif Num1 % 2 == 0:
print("X")
elif Num1 % 3 == 0:
print("8")
elif Num1 % 4 == 0:
print ("=")
elif Num1 % 5 == 0:
print("[")
elif Num1 % 1== 0:
print(";")
Num2 = int(input("Tell me a whole number: "))
if Num2 % 4 == 0:
print ("-")
elif Num2 % 2 == 0:
print("-{")
elif Num2 % 3 == 0:
print("<{")
elif Num2 % 1== 0:
print("<")
Num3 = int(input("Tell me a whole number: "))
if Num3 % 7 == 0:
print ('(')
elif Num3 % 2 == 0:
print("O")
elif Num3 % 3 == 0:
print("|")
elif Num3 % 4== 0:
print("!")
elif Num3 % 5 == 0:
print("/")
elif Num3 % 6 == 0:
print("P")
elif Num3 % 1== 0:
print(")")
I tried this, but it will only print the numbers that were input before, and not the symbols. What can I do?
print(Num1, Num2, Num3)