Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

stdin and stdout in python

# Stdin Python3:
string = input()

# Stdin Python2:
string = raw_input()

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

# Stdout Python3:
print(string)

# Stdout Python2:
print string
Source by support.hackerrank.com #
 
PREVIOUS NEXT
Tagged: #stdin #stdout #python
ADD COMMENT
Topic
Name
4+6 =