Share your repls and programming experiences

← Back to all posts
Truth or Dare
Lyssillic (1)

A python Truth or Dare game designed to help students learn Nested Loops.

DynamicSquid (2619)

Hmm... I'm not sure on this but I think exception handling is a little too complex for beginners:

    # Ask the user for the amount of players
    gamePlayers = int(input("How many players would like to play the game? "))
    # Stop looping, because the user entered a number
    print("Error: You must enter a number!\n")

Or that might just be in C++, I'm not a Python guy so I could be wrong