Skip to content

Instantly share code, notes, and snippets.

View spyron1's full-sized avatar
🎯
Focusing

DIVYANSHU AARYAN spyron1

🎯
Focusing
View GitHub Profile
import random
valid_moves = ['rock', 'paper', 'scissors']
score = 0
while True:
player_move = input("Enter your move (rock, paper, or scissors): ").lower()
if player_move not in valid_moves:
print("Invalid move. Please enter rock, paper, or scissors.")
continue