This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rock, Paper, Scissors command line python3 game | |
# run at commandline by typing `python rock-paper-scissors.py` | |
from random import randint # import random for computer choice | |
class NotAChoiceException(Exception): # creating a custom exception to handle by inputs | |
"""doc statement about error""" | |
pass | |
def takeInput(): # the function that handles input |