Skip to content
Snippets Groups Projects
Commit 7efe6365 authored by dhana surya's avatar dhana surya
Browse files

Get the usr input and computer choice

parent 2c59cb7a
No related branches found
No related tags found
No related merge requests found
"""
To build a rock papper scissors game
"""
# TODO Computer choose the random from the list (rock , papper , scissors )
import random
# TODO Get the input from the usr
user_choice = input("What do you choose? Type 0 for Rock, 1 for Paper or 2 for Scissors")
# TODO Computer choose the random from the list (rock , papper , scissors )
computer_choice = random.randint(0 , 2)
print(computer_choice)
# TODO create a logic the game
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment