Fix typos and add Python files

This commit is contained in:
lolabird 2023-10-27 15:59:23 -06:00
commit 776b96e52e
6 changed files with 215 additions and 3 deletions

View 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()