CSC108H1 Lecture 26: CSC108 L26
25 views5 pages
yifanyang and 39659 others unlocked
21
CSC108H1 Full Course Notes
Verified Note
21 documents
Document Summary
You put it in the constructor, only when it needs those, like start_time and end_time. (cid:1) (cid:1) Some of the time, it is a reasonable value for that parameter and you don"t need to input those values. (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) str method gets called when you print, or cast a string. Day represents a day in the calendar (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) No need to know the index, no need to change them. (cid:1) (cid:1) But doing it this way, all the events will be in the same line. (cid:1) Don"t change the instant variables without using methods. Don"t have any methods to put events into the day. Know that overlaps is a built-in function / method because it"s calling on an object. today. schedule(class2) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) (cid:1) When i import from event and run day, it runs it.
Get access
Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers