Tuesday, September 6, 2022

2d_Lists

 Found a really interesting resource on python lists:

https://www.dummies.com/article/technology/programming-web-design/python/how-to-define-and-use-python-lists-264919/


Bro Code is, as usual, clear amd concise on 2d lists: they are lisTs of lists:

https://youtu.be/EWbET9xdHUE


But then also found an approch that might be helpful in using a list to store date/event pairs:

                                                                            


I could, for example, rune through just the dates in the list!!

https://www.geeksforgeeks.org/python-using-2d-arrays-lists-the-right-way/

No comments: