Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.70K
1 Posted Topic
def dec_build(s): my_file = open(s,"r") my_dict={} for line in my_file: for word in line.split(): my_dict[word]=len(word) my_file.close() return my_dict #it will open specified file,read line by line #,word by word #and store in a dictionary
The End.
Mohammad_19