Starting out with Python, Third Edition, Tony Gaddis
Chapter 6
Programming Challenges
Item Counter
Assume that a file containing a series of names (as strings) is named names.txt and exists on the computer’s disk. Write a program that displays the number of names that are stored in the file. (Hint: Open the file and read every string stored in it. Use a variable to keep a count of the number of items that are read from the file.)
Starting out with Python. Third Edition. Tony Gaddis.
Happy Steeming Everyone! :)
Like your post. Wish you the best in this challenging environment. I write about several topics that call my attention, from travel, life to science and technology.
https://steemit.com/steemit/@indepthstory/i-was-almost-convinced-but-what-happened-what-on-earth-is-going-on
https://steemit.com/life/@indepthstory/rio-de-janeiro-is-one-of-those-items-that-must-be-placed-in-the-bucket-list-and-one-day-definitively-visit-we-did
https://steemit.com/life/@indepthstory/family-trip-adventures-but-ongoing-environmental-contamination-right-under-our-noses-so-powerful-even-governments-cannot-stop-it
https://steemit.com/life/@indepthstory/are-scientists-reaching-out-to-build-the-perfect-human-being-such-person-could-ever-exist
Here above are some of my posts x @indepthstory
Best of good luck in the STEEMIT environment.
@indepthstory
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit