3.1.python内置函数

输入函数

user_account=input()

注意:input()函数返回体类型为str,如果需要其他类型,请进行转换,如:

转换为int型:int(a)

Last updated

Was this helpful?