+ 3
How to store inputs in dictionary
7 Respostas
+ 4
+ 4
input =input()
dict = {
    'date':'21',
    'month': 'april',
    'year': '2021',
} 
print(dict[input])
+ 3
Codemurai,
Maybe this is what you want.
https://code.sololearn.com/cqpXNFmGAGuC/?ref=app
+ 1
Jan Markus 
Question :-
           How do I put input in dictionary
I don't what the use of it but I need to know how to put input in dictionary
+ 1
Simba 
Sorry, I mean how do I put input in dictionary
+ 1
Simba 
For example 
My input is 'hello world'
We need to store it in dictionary
+ 1
Scarlet Witch 
I will test this later and give a tick if correct



