New course! Every coder should learn Generative AI!
Try a free lesson0
how to get muliple vale in one line
like in c++ we say cin》a》b ; but what about pytho
1 Answer
+ 1
a, b = input(), input()
or if you want a list of inputed data
mylist = [input() for i in range (10)]
and mylist will contain 10 strings of inputed data