)
age = int(input("请输入用户年龄:"))
name = input("请输入用户姓名:")
# 错误
user_id = 1
age = 30
name = input("请输入用户姓名:")
请再次检查您的代码,并确保在变量声明时指定了正确的类型。