WSQ16 Cars

For this wsq I had to know how to ride and write files in python. After that I create a program that read line by line of the file, but in reality I jus want to take some values of strings of some lines, so inside of the for loop is a code to read one line yes and the next no.

I had to show the average  so I had to know how many cars there are and inside of the loops count the cars.

so here is my code: https://github.com/EfrainDuarte95/TC1014/blob/master/wsq16.py

this link is very helpful to know how to read and write files.

http://learnpythonthehardway.org/book/ex16.html

http://www.pythonforbeginners.com/files/reading-and-writing-files-in-python

CC BY 4.0 WSQ16 Cars by Efrain Duarte is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.