预测带输入的输出
input() 读到的内容:
"5"
5
int( ... )
文字(字符串)
数字(整数)
运行下面的 Python 3 程序,输入 5,填写结果。
price = int(input())
print(price * 2)
input() 读到的内容:
int( ... )
文字(字符串)
数字(整数)
运行下面的 Python 3 程序,输入 5,填写结果。
price = int(input())
print(price * 2)
全部评论