PokeVideoPlayer v23.9-app.js-020924_
0143ab93_videojs8_1563605_YT_2d24ba15 licensed under gpl3-or-later
Views : 1,406
Genre: Science & Technology
License: Standard YouTube License
Uploaded At Feb 3, 2021 ^^
warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
Rating : 4.68 (4/46 LTDR)
92.00% of the users lieked the video!!
8.00% of the users dislieked the video!!
User score: 88.00- Overwhelmingly Positive
RYD date created : 2022-02-12T09:00:16.823575Z
See in json
@silencegameplay1725
3 years ago
import random
n = random.randrange(1, 15)
attempts = 0
flag = True
print("Your life is 5 and your guesses is 1 to 15\n")
while(flag and attempts < 5):
attempts = attempts + 1
user_guess = int(input('What your guess : '))
if(user_guess == n):
print("You complete attempt in " , attempts , "You won congratulation\n")
break
elif(user_guess < n):
print("life" , attempts , " :Your guess too low please enter high guess\n")
else:
print("life" , attempts , " : Your guess too high please enter low guess\n")
if(attempts == 5):
print("Game over please try again :(")
continue
1 |