#*_* coding:utf-8 *_*
# while 先有一个计数器
input = 0
# input = input('输入数字')
while input < 5:
input= input + 1
if input == 3:
continue
print('加入一个用户')
#*_* coding:utf-8 *_*
for i in range(4):
input1 = input('输入查询的成绩')
input2 = int(input1)
if input2 > 90:
print('优秀')
elif input2 <90 and input2 >60:
print('良好')
elif input2 <60 and input2 > 0:
print('差')
else:
print('等于0')
#*_* coding:utf-8 *_*
import datetime
data = datetime.datetime.today()
print(data)
username = 'xiaohei'
denglushijan = '%s登录时为%s'%(username,data)
print(denglushijan)
#*_* coding:utf-8 *_*
import random
# 循环打印5次print
# for i in range(5):
# print('shuji')
# 随机取出一个1到100的整数
# random =random.randint(1,100)
# print(random)
random =random.randint(1,100)
for i in range(7):
shuzi=input('写一个数字猜大小')
shuzi=int(shuzi)
if shuzi > random:
print('猜大了')
continue
elif shuzi < random:
print('猜小了')
continue
else:
print('猜对了')
break
else:
print('次数都用光了')