jeudi 22 juillet 2021

My Guessing game isn't able to print out the dialogue

beginner here! My question is, why doesn't the terminal say the prints?

import random
print(" Guess number between 1-5")
def Guessinggame(Number = int(random.randint(1, 5))):
    if input == Number:
        return "YOU'RE AWESOME!"
    else:
        return "Not correct"        
while():
    Guessinggame() 

It's a guessing game where you have to guess between the number 1 and 5.




Aucun commentaire:

Enregistrer un commentaire