How to read two integer variables on the same line? [closed]

-1

How to read two integer variables on the same line with Python?

a= int(input())

b = int(input())
    
asked by anonymous 08.08.2016 / 03:42

1 answer

0

The code below should help:

N, M = [int(x) for x in input().split(" ")]
    
08.08.2016 / 03:43