+ 1
How to code to a random number
4 Réponses
+ 4
Is "aa" a new language in the market?
Please don't post irrelevant tag it really makes the job of searching algorithm and the answerers difficult, I hope you understand.
+ 3
https://code.sololearn.com/crSgCTUX447b/?ref=app
Her is my code!!
+ 1
See this
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2438/
For better explanation...
Random module (built in) can be used to generate random values.
(I saw your recent code and helping with that)
Usage:
import random
computer_guess=random.randrange(0,10)
user_guess=int(input())
if user_guess==computer.......
.
.
.
Here you code will complete
(randint will include end value but randrange excludes the last values)
+ 1
Thank