Ivan Exercise2
unknown
python
3 years ago
2.2 kB
4
Indexable
ex2 = ''' 1.d) One of the students attending the course, Tim Berners Lee, thinks he knows enough about the materials taught in the course, so he will take a break and go for a vacation on 12/11/21 for 2 weeks. Right after that, when he gets back he will attend again the lectures starting from the first available one according to the schedule until the end of the course. Write down a portion of code that prints the titles of the lectures that Tim Berners Lee will attend at the end of the course. Hint: take a look at the datetime library''' l_schedule_extended = [(2,"11/10/21","09:30-11:30","Introduction to the course"), (2,"13/10/21","09:30-11:30","Introduction to Computational Thinking"), (2,"15/10/21","12:30-14:30","Algorithms"), (2,"18/10/21","09:30-11:30","Laboratory"), (2,"20/10/21","09:30-11:30","Computability"), (2,"22/10/21","12:30-14:30","Programming languages"), (2,"25/10/21","09:30-11:30","Organising information: ordered structures"), (2,"27/10/21","09:30-11:30","Laboratory"), (2,"29/10/21","12:30-14:30","Brute-force algorithms"), (2,"08/11/21","09:30-11:30","Laboratory"), (2,"10/11/21","09:30-11:30","Organising information: unordered structures"), (2,"15/11/21","09:30-11:30","Laboratory"), (2,"17/11/21","09:30-11:30","Recursion"), (2,"22/11/21","09:30-11:30","Laboratory"), (2,"24/11/21","09:30-11:30","Divide and conquer algorithms"), (2,"29/11/21","09:30-11:30","Laboratory"), (2,"01/12/21","09:30-11:30","Dynamic programming algorithms"), (2,"06/12/21","09:30-11:30","Organising information: trees"), (2,"13/12/21","09:30-11:30","Backtracking algorithms"), (2,"15/12/21","09:30-11:30","Organising information: graphs"), (2,"20/12/21","09:30-11:30","Greedy algorithms")]
Editor is loading...