Answers for "stdin write python"

1

stdin and stdout in python

# Stdin Python3:
string = input()

# Stdin Python2:
string = raw_input()

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

# Stdout Python3:
print(string)

# Stdout Python2:
print string
Posted by: Guest on August-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language