stdin python code example
Example 1: input stdin python
import sys
data = sys.stdin.readline()
sys.stdout.write('Dive in')
Example 2: python read from stdin
import sys
data = sys.stdin.readlines()
Example 3: std python
import numpy as np
values=[1,10,100]
print(np.std(values))
values=[1,10,100,np.nan]
print(np.nanstd(values))