# courses.py # YOUR NAME GOES HERE (with some starter code by Titus Klinge) # 2019-04-17 # # A library of functions to extract and manipulate # course information # ------------------------------------------------------------------- # This function takes a single parameter, course, # that is a string formatted similar to # # "f18 6 2/30/0 MATH.111.01 (51348) Introduction to Calculus" # # and returns the term of that course. For example, if the parameter # was the course above, it would return "f18" def course_term(course): return course[:3] # returns the first three characters # -------------- PART A GOES BELOW -------------------------- # -------------- PART B GOES BELOW -------------------------- # -------------- PART C GOES BELOW --------------------------