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.
|
- import random
-
- nombre_secret = random.randint(0, 100)
-
- print("devine le nombre auquel je pense entre 0 et 100")
- entrée_utilisateur = int(input())
-
- while True:
- if entrée_utilisateur == nombre_secret:
- print("bravo")
- break
- else:
- print("mauvaise réponse")
- entrée_utilisateur = int(input())
|