📜  python 获取输入 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:46.386000             🧑  作者: Mango

代码示例6
# Python 3

txt = input("Type something to test this out: ")

# Note that in version 3, the print() function
# requires the use of parenthesis.
print("Is this what you just said? ", txt)