Skip to content
Open
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
4 changes: 2 additions & 2 deletions Games/RockPaperScissors/RPS-manjusha2912
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ def menu():
print("-"*50)
def choices():
compOps=["Rock","Paper","Scissors"]
#x=random.randint(0,2)
x=1
x=random.randint(0,2)
i=int(input("Enter your choice {1,2,3}: "))
print("The computer chose: ",x+1," = ",compOps[x])
l=[x+1,i]
Expand All @@ -35,4 +34,5 @@ def main():
continue
else:
ch=False
print("Goodbye!")
main()