# courses.py # Titus Klinge, YOUR NAME(S) GO HERE # 2019-01-23 # # A library of functions to extract and manipulate # course information # Example string-formatted courses from the MATH department some_math_courses = [ "f18 6 2/30/0 MATH.111.01 (51348) Introduction to Calculus", "f18 6 4/30/0 MATH.111.02 (51349) Introduction to Calculus", "f18 6 4/30/0 MATH.111.03 (51350) Introduction to Calculus", "f18 6 -1/25/1 MATH.120.01 (51351) Calculus 2", "f18 6 -4/25/2 MATH.120.02 (51352) Calculus 2", "f18 6 -2/25/0 MATH.120.03 (51353) Calculus 2", "f18 6 -2/25/3 MATH.120.04 (51354) Calculus 2", "f18 6 22/30/0 MATH.210.00 (51368) Calculus 3", "f18 6 2/25/2 MATH.211.01 (51355) Multivariable Calculus", "f18 6 -1/25/4 MATH.211.02 (51356) Multivariable Calculus", "f18 6 -3/25/2 MATH.211.03 (51357) Multivariable Calculus", "f18 6 -1/32/5 MATH.215.01 (51359) Introduction to Statistics", "f18 6 4/32/10 MATH.215.02 (51360) Introduction to Statistics", "f18 6 -1/23/1 MATH.232.01 (51361) Linear Algebra", "f18 6 10/30/0 MATH.232.02 (51369) Linear Algebra", "f18 6 6/23/0 MATH.236.00 (51362) Mathematical Structure", "f18 6 3/24/1 MATH.245.00 (51363) Applied Regression Analysis", "f18 6 11/30/0 MATH.251.00 (51370) Chaotic Dynamics", "f18 6 2/30/0 MATH.265.00 (51364) Probability", "f18 6 3/30/0 MATH.265.02 (51365) Probability"] def main(): # body of main goes here # Runs the main function only if someone runs courses.py # from the terminal (it does not run if someone imports it) if __name__ == "__main__": main()