๐Ÿ PyQuestโœ‚๏ธ Game: Rock Paper Scissors ยท ๐Ÿ™‹ Step 2: Your Move
โญ 0 XP๐Ÿ Python is waking upโ€ฆ

Step 2: Your Move ๐Ÿ™‹

The computer throws a move every time you run โ€” but it's shadowboxing. Nobody is playing against it! ๐Ÿ‘ป

Give the human a turn with input(). Because both moves are just text, you can show them side by side in one f-string:

flavor = input("Pick a flavor: ")
print(f"You chose {flavor} and I chose mint.")

Ask before you announce anything โ€” otherwise you'd be showing your hand first, and that's not how a duel works. ๐Ÿ˜

Your mission

  1. Keep the computer's random pick
  2. Ask the player for their move: player = input("rock, paper or scissors? ")
  3. Print both picks using f-strings โ€” the player's move and the computer's

Your code

Press โ–ถ Run to see what your code does!