0
Code is working alright but how can I add if statements to it?
2 Answers
+ 2
You should put the generated random number in a variable then you can add:
guess = int(input()) #collects input from user
if guess = variable:
do this
elif guess > variable:
do that
else:
do this
....and so on and so forth.
Be creative with itđđđ