Code: Select all
school_students_dot_txt = open("school_students.txt")
print(school_students_dot_txt.readline())
school_students_dot_txt.close()
# Line had to be created to close the file.Code: Select all
school_students_dot_txt = open("school_students.txt")
print(school_students_dot_txt.readline())
school_students_dot_txt.close()
# Line had to be created to close the file.