关于python的input标签的基础知识

2025-03-03 08:21:41
推荐回答(1个)
回答1:

input函数返回的永远是字符串,需要你自己转成int型。
age = int(input())