Making a Rock Paper Scissors Game in Python

Опубликовано: 27 Февраль 2026
на канале: Kenny Yip Coding
538
13

Just making a simple text-based Rock Paper Scissors game using Python to test out my new mic :) .

Changes to improve the code:
-Checking if the input is a string type is unnecessary (oops!) because by default, an input is of the type string.

-changed the lower 2 if statements to elif to speed up the program.

-moved some print statements out of the conditional statements to avoid redundancy.