/pyxercise

This repo contains the random programming exercises for preactice.

Primary LanguagePythonMIT LicenseMIT

Python random exercies

  • task1: returns the pair of values which results the desired sum
  • task2: returns the pair of values with maximum product.
  • task3: A polling problem asks the users to answer the questions until they like to and then store their answers along with their names in the dictionary named responses.
  • task4: Make a quiz that returns the number of correctly answered questions.
  • task5: Rock, Papper and Scissors
  • task6: Roll dice game
  • task7: Guess the secret
  • task8: Rock Paper Scissors game