top of page

Rock Paper Scissors

  • Writer: Renee Li
    Renee Li
  • Oct 12
  • 1 min read

This is the third exercise from Code with Mosh, Python projects for beginners.


  • ## user input compare with computer choice

  • ## try validate if invalid , try again

  • ## if user choice = computer choice print tie and try again

  • ## if user input is rock and computer is scissors or paper user win;

  • ## if user input is scissors and computer is rock computer win and if computer is paper user win;

  • ## if user input is paper and computer is rock user win and if computer is scissors computer win;

  • ## user can exit by typing exit


Implementation is listed below.


ree

Comments


bottom of page