`print('*' * 20)
print("<<<>>")
print('*' * 20)
print("<<费用计价方式>>")
print('$' * 20)
print("华东地区:(1);首重(<= 2kg):13元;续重:3元")
print("华南地区:(2);首重(<= 2kg):12元;续重:2元")
print("华北地区:(3);首重(<= 2kg):14元;续重:4元")
print('$' * 20)
User_name = input("请输入管理员姓名:")
User_password = input("请输入密码:")
print(f'欢迎{User_name}使用cq快递结算系统')
choice_here = int(input("请输入收货人的地址编号"))
if choice_here == 1:
print("收货人的地址是华东")
choice_weight = int(input("请输入物品的重量:"))
if choice_weight <= 2:
money = choice_weight * 13;
else:
money = 13 * 2 + (choice_weight - 2) * 3;
elif choice_here == 2:
print("收货人的地址是华南")
choice_weight = int(input("请输入物品的重量:"))
if choice_weight <= 2:
money = choice_weight * 12;
else:
money = 12 * 2 + (choice_weight - 2) * 2;
else:
print("收货人的地址是华北")
choice_weight = int(input("请输入物品的重量:"))
if choice_weight <= 2:
money = choice_weight * 14;
else:
money = 14 * 2 + (choice_weight - 2) * 4;
print(f'该快递的费用{money}')
print("系统退出,欢迎你下次使用")`