Skip to content

How to input multiple integers in Python?

x,y=map(int,input().split())#you can change the int to specify or intialize any other data structures
See also  How to read a json resposnse from a link in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.