📜  python代码示例中的stdin和stdout

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

代码示例2
# Stdin Python3:
string = input()

# Stdin Python2:
string = raw_input()

----------------------

# Stdout Python3:
print(string)

# Stdout Python2:
print string