Open Lab - What Did I Do Today In Open Lab?
Thursday, March 7, 2019
Nicholas-PM-60 min-Coding challenge Zim
Today, I worked on the coding challenge for the files Zim #2. I have completed 2 challenges. I need help, so I looked on the blog for help.
# Zim challenge 2
xfile = open('zimTextFile.txt')
print(xfile)
counterofline=0
counterofchar=0
counterofzim=0
counterofstartswithzim=0
realzimcount=0
for line in xfile:
#challenge 2
counterofline=counterofline+1
print(counterofline)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment