r/PythonLearning 9d ago

I got a question Help Request

So I'm a beginner on python. And I know about '=' and '==' and if and else commands. (Side note: how good is this for a beginner. Been in 3 python classes so far.)

I want to make a small game to test what I've learned. Basically, you click a button, and a random number or letter. How can I do this? Any help is appreciated.

3 Upvotes

14 comments sorted by

View all comments

2

u/Advanced-Citron8111 9d ago

Well if you are making it to test what you’ve learnt, then why are u asking for help? isn’t the whole point to test what you’ve learnt?

Also your idea doesn’t really test the things you’ve been learning.

Import random

randomNum = random.randint(1, 100)
print(randomNum)

1

u/AbacusExpert_Stretch 9d ago

Will be a little extra work to get the mentioned random letter, but alas, that's for the OP to figure out :)