Uses python3
import sys
input = sys.stdin.read()
tokens = input.split()
a = int(tokens[0])
b = int(tokens[1])
print(a + b)
I am trying to compile this simple code in Python. HOwever it gives me Index Error:List Index out of range. I just need to compile this code and then feed 2 digits to it at input line.