This website works better with JavaScript.
Home
Explore
Help
Sign In
E2L_Ivry
/
cours-python
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
devine_nombre: use a message in the prompt
master
Dimitri Merejkowsky
5 years ago
parent
818f6fbebe
commit
6f10ee0730
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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")
while True:
response = input()
response = input(
"votre reponse: "
)
response = int(response)
if response == secret: