Python Forum
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python debugging hw
#4
Just read over the link on code tags. Thank you for letting me know j.crater as I am still learning. Any ways the first script is the script that I was sent to work with. My problem - I can not get the while loop to run right. It skips the randomint method not giving me a result if i win or loose.

The game should generate a random number between 0 and 100 when the user hits Enter. The user should be able to stop the game by typing "Stop". A score over 50 should result in a win. Analyze existing Python code to identify and correct all bugs and correct all errors within the debugging file (attached) to this module.
Reply


Messages In This Thread
Python debugging hw - by John0895 - Oct-05-2018, 04:53 PM
RE: Python debugging hw - by j.crater - Oct-05-2018, 06:08 PM
RE: Python debugging hw - by ichabod801 - Oct-05-2018, 06:29 PM
RE: Python debugging hw - by John0895 - Oct-05-2018, 06:58 PM
RE: Python debugging hw - by ichabod801 - Oct-05-2018, 07:57 PM
RE: Python debugging hw - by John0895 - Oct-05-2018, 09:02 PM
RE: Python debugging hw - by ichabod801 - Oct-05-2018, 09:10 PM
RE: Python debugging hw - by John0895 - Oct-05-2018, 09:22 PM
RE: Python debugging hw - by ichabod801 - Oct-05-2018, 09:29 PM
RE: Python debugging hw - by John0895 - Oct-05-2018, 09:30 PM
RE: Python debugging hw - by Phrotonz - Oct-11-2018, 10:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Program debugging (python) abdullahali 5 4,515 Jan-17-2019, 04:31 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020