Python 3 - Dictionary - first char as a key and string as value | Example Programs

preview_player
Показать описание
Write a simple code to Create a dictionary from list of strings where the first char of the string will act as key and respective strings are stored as values.
Рекомендации по теме
Комментарии
Автор

I got a problem sir
If words are repeating in input like
"apple orange apple cat "
Then it will print apple two times in key in output but if we want key only one time then what to do

vibhavsharma
join shbcf.ru