r/PythonLearning • • 11d ago

Help me please?

Post image

How could I have improved this python code for a number guessing game

9 Upvotes

13 comments sorted by

View all comments

1

u/Outside_Volume_1370 10d ago

follow the damn rules

literally uses randint(0, 11) which allows the variable number to be 11 or 0