PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#enter a number between 1 and 10.
import random
import os
user_input = (int(input()))
system_number = 8
if user_input == system_number:
print ("You won")
else:
while user_input != system_number:
print ("Pneumonoultramicroscopicsilicovolcanoconiosis")
print ("I think you have to try again")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Exécuter