#DS30122 Write a Python program to count the number of words in a text file

2 Likes

Hey @preeti.kushwahac0523 you need to close the file . or use " With "

Good Keep Practicing @preeti.kushwahac0523