diff --git a/scripts/Rock_Paper_Scissor/rock_paper_scissor.py b/scripts/Rock_Paper_Scissor/rock_paper_scissor.py index 5fb9b4d..7295f4c 100644 --- a/scripts/Rock_Paper_Scissor/rock_paper_scissor.py +++ b/scripts/Rock_Paper_Scissor/rock_paper_scissor.py @@ -4,8 +4,10 @@ def getPlayer(): player = "empty" player = input("Please Enter You Choice From - Rock | Paper | Scissor = ") - while not (player == "Rock" or player == "Paper" or player == "Scissor"): + player = player.lower() + while not (player == "rock" or player == "paper" or player == "scissor"): player = input("Please Enter You Choice From - Rock | Paper | Scissor = ") + player = player[0].upper()+player[1:] return player # Function to generate input from the bot @@ -72,4 +74,4 @@ def gameBegins(): endTheGame = input("You wish to end? Choose Y/N: ") print("\nThank you for Playing!") -start() \ No newline at end of file +start()