0
Python project
Hi, can anyone help me write a code that lets me pick a number x from 1-10 at random? Thanks!
2 Antworten
+ 4
Here is the lesson: https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2438/
And here is a code:
https://code.sololearn.com/cI2pyBJ8D5PL/?ref=app
Hope it helps 🙂
(Read the lesson first, only this way you will understand)
+ 1
import random
num=random.randint(1,10)
print(num)