Browse Source

devine_nombre: use a message in the prompt

master
Dimitri Merejkowsky 5 years ago
parent
commit
6f10ee0730
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sources/02-devine-nombre.py

+ 1
- 1
sources/02-devine-nombre.py View File

@@ -4,7 +4,7 @@ secret = random.randint(0, 100)


print("Devine le nombre auquel je pense") print("Devine le nombre auquel je pense")
while True: while True:
response = input()
response = input("votre reponse: ")
response = int(response) response = int(response)


if response == secret: if response == secret: