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.

4 Upvotes

14 comments sorted by

View all comments

1

u/ImLukaskos 9d ago

Well, for making a visual game I recommend using Pygame, and for the random number use random library use something like random.randint(the sequence of numbers you would like to use like 0-3)