how to take an input with sys stdin in python code example Example: input stdin python import sys data = sys.stdin.readline() sys.stdout.write('Dive in')