News
# 7. Write a Python program to count the occurrences of each word in a line of text. # Hint: use split () function and dictionary # Sample input : the quick brown fox jumps over the lazy dog # Output ...
python-dictionaries #simple dictionary d= {} n=int (input ()) for i in range (n): k,v=map (int,input ().split ()) d [k]=v print (d) #accessing elements d= {10:100,20: ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results