Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing


  • 2 years ago

So i was doing Exercise 1.7 of hw1 and i ran into some problems. I checked here and i found some really cool solutions, i decided to try and make mine a best out of 3, however i'm not sure why the game never ends. Can i get some help with my code please?

  • This Question is Closed
  1. Dodonga
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I figured it out, i had to change the "or" in the "while" statement for an "and" now the game ends after someone wins best out of 3.

  2. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy