py4e icon indicating copy to clipboard operation
py4e copied to clipboard

Chapter 01 -sample code.

Open brotherboni opened this issue 6 years ago • 1 comments

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.

brotherboni avatar Mar 01 '18 15:03 brotherboni

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.

srcatto avatar Jun 08 '18 19:06 srcatto