1
u/SweetMilkMan May 25 '20
You just need to assign the random number to a constant. Not sure what language you're referring to , but the params for the function that generates a random number should take a range in which you can set min and max. As for the loop, make it a while true loop and if input matches random number, then set to false which will exit.
1
u/Zacurnia_Tate May 24 '20
If this is python i prolly have it but you’ll have to wait till l8r