Skip to content

Instantly share code, notes, and snippets.

Ayush Pandey Ayush-iitkgp

Block or report user

Report or block Ayush-iitkgp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View code.py
# How to run the program
# 1. python code.py
import operator
import re
def print_word_count(filename):
regex = re.compile('[^a-zA-Z]')
word_count = {}
for line in open (filename, "r"):
You can’t perform that action at this time.