dotfiles/.config/Code/User/History/-4c5b63ed/Siog.py
RafayAhmad7548 4f46de8d00 update
2024-09-09 16:59:28 +05:00

12 lines
No EOL
253 B
Python

import random
num = random.randint(1, 100)
for i in range(5):
guess = input('guess the number')
if guess == num:
print('congratualtions you guessed correctly')
break
else:
print('incorrect guess try again')