Python files readline, strip() and using while loops while reading files

preview_player
Показать описание
How to read text files and while loops to parse through the files.

In this video:
- Python accessing and reading text files
- Assign each line to a variable
- Strip()
- Upper()

File used in this video -

Tools:

#python2DArray #pythonlists #learningtoprogram #learntocode #programmingtutorials #pythonvariables #pythonloops
Рекомендации по теме
Комментарии
Автор

4:25 When you used the loop, you started printing "plane" from the second line not the first. Your output should've started with "Cub Special" but instead it started with "Archer." How would you fix this?

Edit: Unless I'm just dumb...

dmitriyzhemkov