Code: Select all
print( 'you have 5 attempts')
import random
Cpu = random.randint(1,20)
Avi = int(input())
if Avi==Cpu:
print('Great Job')
else:
print('You Lose')
print('You have 4 attemps')
Code: Select all
print( 'you have 5 attempts')
import random
Cpu = random.randint(1,20)
Avi = int(input())
if Avi==Cpu:
print('Great Job')
else:
print('You Lose')
print('You have 4 attemps')