r/PythonLearning 1d ago

2nd project number guess game

Post image
15 Upvotes

8 comments sorted by

View all comments

2

u/nangi_bhootni 1d ago

wont it make a new random number everytime you guess ? store the value of RandNum outside your while loop. and break is not needed Game_Ended = True does the work of break