Apr-23-2017, 06:10 PM
(This post was last modified: Apr-23-2017, 06:34 PM by idontreallywolf.)
You have 2 options:
1.
2.
# a becomes a list of 2
# You will have to convert those to integers.
1.
a, b = input("Enter two numbers> "), input("Enter two numbers> ")
2.
a = input("Enter two numbers> ")
a = a.split(' ')
# a becomes a list of 2
strings
['1', '2']# You will have to convert those to integers.