diff --git a/CountMillionCharacters-2.0.py b/CountMillionCharacters-2.0.py index ec1e3e54b4d..d6a79eb3673 100644 --- a/CountMillionCharacters-2.0.py +++ b/CountMillionCharacters-2.0.py @@ -10,15 +10,15 @@ import collections -def main(): +def rename(): file_input = input('File Name: ') - with open(file_input, 'r') as info: + with open(file_input,'r') as info: count = collections.Counter(info.read().upper()) value = pprint.pformat(count) print(value) if __name__ == "__main__": - main() + rename()