Remove .md and image files and move python files into main chapter folders
This commit is contained in:
parent
5978779a9a
commit
67806dab6a
159 changed files with 0 additions and 4562 deletions
12
thinkcspy/Chapter-11-Exercises/Problem1.py
Normal file
12
thinkcspy/Chapter-11-Exercises/Problem1.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Runestone.Academy thinkcspy course
|
||||
# Chapter 11
|
||||
# Problem 1
|
||||
|
||||
sdfile = open("studentdata.txt", "r")
|
||||
|
||||
for line in sdfile:
|
||||
student = line.split()
|
||||
if len(student[1:]) > 6:
|
||||
print(student[0])
|
||||
|
||||
sdfile.close()
|
||||
Loading…
Reference in a new issue