Re: Rock Paper Scissors Code Bug?

2025-12-18 Thread Gregg Drennan via Python-list
the four valid choices...we just treat it as invalid and prompt the player to enter a valid choice. On Thu, Dec 18, 2025, 8:21 AM Thomas Passin wrote: > On 12/17/2025 10:43 PM, Gregg Drennan via Python-list wrote: > > The other recommendation i would make is to shorten the response the &g

Re: Rock Paper Scissors Code Bug?

2025-12-17 Thread Gregg Drennan via Python-list
The other recommendation i would make is to shorten the response the player needs to give when choosing their option. "R", "P", "S" is sufficient to determine the player's choice. Making the player enter the whole word introduces opportunity for misspellings. I would also allow the player to ent