1
My program asks that, at the entrance, on the same line, there be a string space-free name, the name of the applicant, and a string which can contain spaces desc, the description of the deposited object. So that, later, I create a dictionary to relate the name and the object.
Ex input: Ana Bolsa azul
However, the way I did, it is only possible to enter a word at the location of the object description. How to proceed to enter with more than one word down??
As I did:
dic={}
nome,desc=input().split()
dic.update({nome:desc})
Possible duplicate of How to store an int and a complete string from within an input?
– Woss