Split String und konvertieren in Int Python
a, b = tuple(int(x) for x in '1 2'.split())
Stranger danger
a, b = tuple(int(x) for x in '1 2'.split())