You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

преди 6 години
12345678910111213141516
  1. import random
  2. secret = random.randint(0, 100)
  3. print("Devine le nombre auquel je pense")
  4. while True:
  5. response = input()
  6. response = int(response)
  7. if response > secret:
  8. print("Trop grand")
  9. continue
  10. if response < secret:
  11. print("Trop petit")
  12. continue
  13. print("Gagné")
  14. break