# hy = input('输入是否会员:(y/是,其他/否)')
# print(type(hy)) #查看类型
# print(repr(hy)) #原版输出
# gw = int(input('请输入购物金额:'))
#
# if hy=='y':
# if gw>200:
# gw*=0.75
# else:
# gw*=0.8
# else:
# if gw>100:
# gw*=0.9
# print(gw)
# jf = int(input('请输入会员积分:'))
# if jf<2000:
# print("该会员享受得是:0.9")
# elif jf>=2000 and jf<4000:
# print("该会员享受得是:0.8")
# elif jf >= 4000 and jf < 8000:
# print("该会员享受得是:0.7")
# elif jf >= 8000:
# print("该会员享受得是:0.6")
# yhm = input('输入用户名:')
# mm = int(input('请输密码:'))
# if yhm=='a' and mm==123:
# print("欢迎你")
# else:
# print('用户名或密码错误')
# char = input('请输入性别:')
# age = int(input('请输入年龄:'))
# if char=='男':
# if age>5:
# print('可搬动桌子')
# else:
# print('不可以搬动桌子')
# else:
# if age>7:
# print('可以搬动桌子')
# else:
# print('不可以搬动')
# mous=int(input('请输入您出行的月份:1~12\n'))
# xuan=int(input('请问您选择头等舱还是经济舱?头等舱输入1,经济舱输入2\n'))
# jia= 4000
# if 10>=mous>=4 and xuan==1:
# jia*=0.9
# elif 10>=mous>=4 and xuan==2:
# jia*=0.75
# elif xuan==1:
# jia*=0.8
# else:
# jia*=0.6
# print('您的机票价格为:',float(jia))
# a = 2012
# b = 250000
# while b <= 1000000:
# b += b * 0.25
# a += 1
# print(a)
# a = 0;
# num = 0;
# while a <= 100:
# if a % 2 == 0 :
# num += a
# a+=1
#
# print('100以内偶数和为:',num)
# a = 0;
# num = 0;
# while a <= 100:
# if not(a % 2 == 0) :
# num += a
# a+=1
#
# print('100以内奇数和为:',num)
# i=1
# while i<100:
# print('MyShopping管理系统>购物结算')
# print('*'*60)
# xuan=print('请选择购买的商品编号:')
# print('1.T恤 2.网球鞋 3.网球拍')
# print('*'*60)
# xuan2=int(input('请输入商品编号:'))
# if xuan2==1:
# print('T恤 ¥245\n')
# elif xuan2==2:
# print('网球鞋 ¥260\n')
# elif xuan2==3:
# print('网球拍 ¥300\n')
# else:
# print('错误')
# ji=(input('是否继续(y/n):'))
# if ji=='y':
# i+=1
# elif ji=='n':
# print('程序结束!')
# break
# print('欢迎使用MyShopping管理系统')
# print('*********************************a*\n'
# '1.客户信息管理\n'
# '2.购物结算\n'
# '3.真情回顾\n'
# '4.注销\n'
# '**********************************')
# a = int(input('请选择,输入数字:'))
# while (a>0 and a>4):
# a = int(input('输入错误,请重新输入数字:'))
#
# input('执行购物结算******'
# '\n再次回车结束程序')
# a1 = int(input('请输入第一个整数:'))
# a2 = int(input('请输入第二个整数:'))
# a3 = int(input('请输入第三个整数:'))
# if a1>a2:
# if a1>a3:
# sum=a1
# else:
# sum=a3
# else:
# if a2>a3:
# sum=a2
# else:
# sum=a3
# print(sum)
# min=0
# max=0
# while True:
# num = int(input('请输入一个整数(输入0结束):'))
# if min==0:
# min=num
# if num==0:
# break
# elif num>=max:
# max=num
# elif min>num:
# min=num
# print('最大值:',max,'最小值:',min)
# print(range(5))
# print(dir(range(0,5)))
# print('__iter__' in dir(range(5)))
# while True:
# print('MyShopping管理系统>购物结算')
# print('*'*60)
# xuan=print('请选择购买的商品编号:')
# print('1.T恤 2.网球鞋 3.网球拍')
# print('*'*60)
# xuan2=int(input('请输入商品编号:'))
# shuliang=int(input('请输入购买数量:'))
# if xuan2==1:
# print('T恤 ¥245 数量:',shuliang,'合计¥',245*shuliang,'\n')
# elif xuan2==2:
# print('网球鞋 ¥570 数量:',shuliang,'合计¥',570*shuliang,'\n')
# elif xuan2==3:
# print('网球拍 ¥320 数量:',shuliang,'合计¥',320*shuliang,'\n')
# else:
# print('错误')
# print('折扣:0.8')
# if (xuan2 == 1):
# money = 245 * shuliang * 0.8
# print('应付金额:', money)
# elif (xuan2 == 2):
# money = 570 * shuliang * 0.8
# print('应付金额:', money)
# elif (xuan2 == 3):
# money = 320 * shuliang * 0.8
# print('应付金额:', money)
# b = float(input('实付金额:'))
# print('找钱:', b - money)
#
# ji=(input('是否继续(y/n):'))
# if ji=='y':
# print()
# elif ji=='n':
# print('程序结束!')
# break
# i = 100
# while i>=0:
# i-=5
# if i>0:
# print(i)
# a = int(input('请输入数字1-7(输入0结束)'))
# while (not(a==0)) :
# if a == 1:
# print('今天是MON')
# a = int(input('请输入数字1-7(输入0结束)'))
# elif a ==2:
# print('今天是TUE')
# a = int(input('请输入数字1-7(输入0结束)'))
# elif a ==3:
# print('今天是WED')
# a = int(input('请输入数字1-7(输入0结束)'))
# elif a ==4:
# print('今天是THU')
# a = int(input('请输入数字1-7(输入0结束)'))
# elif a ==5:
# print('今天是FRI')
# a = int(input('请输入数字1-7(输入0结束)'))
# elif a ==6:
# print('今天是SAT')
# a = int(input('请输入数字1-7(输入0结束)'))
# elif a ==7:
# print('今天是SUN')
# a = int(input('请输入数字1-7(输入0结束)'))
# else:
# a = int(input('请输入数字1-7(输入0结束)'))
# print('程序结束')
# i = 100
# while i>=0:
# i-=5
# if i>0:
# print(i)
# i = 1
# sum=0
# while i <=50:
# if i%7==0:
# sum+=i
# i+=1
# print(sum)