描述
小白正在学习Python,从变量输出开始。请使用input函数读入一个字符串,然后将其输出。
输入描述:
输入一行字符串。
输出描述:
将读入的变量输出。
示例1
输入:
Nowcoder
复制输出:
Nowcoder
解答:
python
a = input()
print(a)
![](https://file.jishuzhan.net/article/1716413747884462082/8be611e24257ca2b75e9e9ac8c51cee4.webp)
![](https://file.jishuzhan.net/article/1716413747884462082/8adc1340648bd8a7e51227a918c09056.webp)
说明:
考查python的input函数,input函数允许用户输入,例如在pycharm的run界面输入如上的绿色 i love u