py4e
py4e copied to clipboard
Chapter 01 -sample code.
Sorry, There is something that went wrong with your code in the program that checks the unique word and count their total number of frequency they appear.
You have written: name = input('Enter file:')
I think it should be name = input(print('Enter file:'))
Thanks for your support.
That is not correct. The print(text) will output the text, as expected. The problem is the return value of the print() function is None, then you get None as part of the input() prompt text displayed on screen.