Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.07 KB

File metadata and controls

28 lines (19 loc) · 1.07 KB

Lab Summary

Answer each question in full sentences. Each answer starts as a placeholder marker. Replace every marker with your own writing, and delete the marker itself. The minimum word count for this document is 150 words.

You had to separate 2026 into a century of 20 and a decade of 26. Describe how you did it, and what your program would do if you had used regular division (/) instead of integer division (//).

TODO

.split("-") gave you three pieces. What type were those pieces before you converted them, and what specifically goes wrong if you try to do arithmetic without converting?

TODO

Pick one date your program got wrong at some point while you were building it. What was the wrong answer, what was the right one, and how did you find the cause?

TODO

get_anchor_day and get_day_of_week were already written for you in DayFunctions.py. What did you need to know about each one to use it correctly (what it expects, what it returns), and why is calling it more convenient than looking the value up in the table yourself?

TODO