# counts=dict()
# file1=open('romeo.txt')
# print(file1)
# file2='romeo.txt'
# print(file2)
# words=file2.split()
# print(words)
# tt=type(file1)
# print(tt)

# counts=dict()
# line=input('enter file file_name: ') #enter 'romeo.txt'
# words=line.split()
# print('total words:', words)
# for i in words:
#     counts[i]=counts.get(i,0)+1
# print('total countL:',counts)

# ff={'jan':10, 'feb':2, 'april':4} # dictionary:{}
# for i in ff:
#     print(i, ff[i])
# print(list(ff))
# print(ff.keys())
# print(ff.values())
# print(ff.items()) # keys & values

# ff={'jan':10, 'feb':2, 'april':4} # dictionary:{}
# for aaa,bbb in ff.items():  # aaa & bbb represents key, value respectively
#     print(aaa,bbb)
