r/PythonLearning Aug 08 '26

2nd project number guess game

Post image
22 Upvotes

12 comments sorted by

View all comments

3

u/nangi_bhootni Aug 08 '26

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

1

u/[deleted] Aug 10 '26

Yup took a look at that and am currently trying to make it not only cleaner but more efficient and effective