Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions rockpaperscissor project.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@



import secrets

def takePlayerInput():
player = "blank"
while not( player.lower() == "r" or player.lower() == "p" or player.lower() == "s") :
Expand All @@ -17,15 +19,9 @@ def takePlayerInput():

takePlayerInput()


# In[4]:


import random

def getBotInput():
lst = ['r','s','p']
return random.choice(lst)
return secrets.choice(lst)


# In[5]:
Expand Down