Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- outfile = open('von_neumann.txt', 'r')
- file = raw_input('Enter a filename: ')
- sentence == von_neumann.txt
- numberofwords=len(word_count)
- for ch in sentence:
- if ch ==".":
- sent_count+=1
- print("There are", numberofwords,"number of words in this file")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement