Hi All,
As per my understanding if we have not defined the value in dictionary then we will get the None. But am getting none even though if the value is defined. Could anyone explain to me the below scenario?
And the out put is:
Enter the phone number12343
['1', '2', '3', '4', '3']
Three
None
None
None
None
None
And I will get it worked when I put the keys of dictionaries inside the quotes as below:
So, is it mandatory to use quotes for keys?