print("=== 时间格式转换器 ===")
year = input("请输入年份：")
month = input("请输入月份：")
day = input("请输入日期：")
hour = input("请输入小时：")
minute = input("请输入分钟：")
second = input("请输入秒数：")

print("\n请选择地区：")
print("1. 中国")
print("2. 美国")
print("3. 英国")
print("4. 澳大利亚")
print("5. 法国")
print("6. 德国")
print("7. 俄罗斯")
print("8. 加拿大")
choice = input("\n请输入数字选择地区 (1-8)：")
# 根据选择显示对应格式的时间
if choice == "1":
    result = year + "年" + month + "月" + day + "日 " + hour + "时" + minute + "分" + second + "秒"
    print("\n中国时间格式：")
elif choice == "2":
    result = month + "/" + day + "/" + year + " " + hour + ":" + minute + ":" + second
    print("\n美国时间格式：")
elif choice == "3":
    result = day + "/" + month + "/" + year + " " + hour + ":" + minute + ":" + second
    print("\n英国时间格式：")
elif choice == "4":
    result = day + "/" + month + "/" + year + " " + hour + ":" + minute + ":" + second
    print("\n澳大利亚时间格式：")
elif choice == "5":
    result = day + "/" + month + "/" + year + " " + hour + ":" + minute + ":" + second
    print("\n法国时间格式：")
elif choice == "6":
    result = day + "." + month + "." + year + " " + hour + ":" + minute + ":" + second
    print("\n德国时间格式：")
elif choice == "7":
    result = day + "." + month + "." + year + " " + hour + ":" + minute + ":" + second
    print("\n俄罗斯时间格式：")
elif choice == "8":
    result = year + "-" + month + "-" + day + " " + hour + ":" + minute + ":" + second
    print("\n加拿大时间格式：")
else:
    print("输入错误！请选择1-8之间的数字。")
