online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
# Author Evan Arias rock = ''' _______ ---' ____) (_____) (_____) (____) ---.__(___) ''' paper = ''' _______ ---' ____)____ ______) _______) _______) ---.__________) ''' scissors = ''' _______ ---' ____)____ ______) __________) (____) ---.__(___) ''' import random hand_choices = [rock, paper, scissors] lengthRPS = len(hand_choices) rps = random.randint(0, lengthRPS - 1) print("Welcome to the Rock Paper Scissors game!") print("Enter 0 for Rock, 1 for Paper, 2 for Scissors") user_input = int(input("What do you choose?: ")) if user_input >= 3 or user_input < 0: print("Invalid Response. You Lose!") else: user_Choice = hand_choices[user_input] pcChoice = hand_choices[rps] print(user_Choice) print("Computer Chose: ") print(pcChoice) if user_Choice == pcChoice: print("Draw!") elif user_Choice == hand_choices[0] and pcChoice == hand_choices[2]: print("You win!") elif user_Choice == hand_choices[2] and pcChoice == hand_choices[1]: print("You win!") elif user_Choice == hand_choices[1] and pcChoice == hand_choices[0]: print("You win!") else: print("You lose")

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue