Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
π―π―π―π―π―π―π―π½Guess the number π½π―π―π―π―π―π―π―
#python 3.6.9 from random import randint print('guess the number') feeling_brave = True score = 0 while feeling_brave: print ("world score 154") print (score) ghost_door = randint (1, 100) door = input('guess the number from 1 to π―') door_num = input(door) if door_num == ghost_door: print ("GAME OVER") feeling_brave = False else: print ("you win") print ("next") print ("you", + score) print ("game over")
run
|
edit
|
history
|
help
0
My wall
Play
recreation of https://js.do/samples/labyrinth in python. Works in the same way.
Convert to lowercase
teretere
Hello,world
try
Gh
linked_lists_2
Distance between latititude and longitude