#!/usr/bin/env python
#encoding: utf-8
number = 88 for i in range(1,6):
num = int(input('gusee number game(5 机会):'))
print('第 %s 机会' % (i))
if num >number:
print ('big')
elif num < number:
print ('small')
elif num == number:
print ('good')
break if num == number:
print ('good luck')
print ('welcome to next come on.......')
else:
print ('no good luck')
print('welcome to next come on.......')
#!/usr/bin/env python
#encoding: utf-8
number = 88 a = 1
while a <= 5:
num = int(input('gusee number game(5 机会):'))
print('第 %s 机会' % (a))
if num >number:
print ('big')
elif num < number:
print ('small')
elif num == number:
print ('good')
break
a += 1 if num == number:
print ('good luck')
print ('welcome to next come on.......')
else:
print ('no good luck')
print('welcome to next come on.......')