Month: April 2022

Total 2 Posts

100 Days of Python: Days 26-30

Day 26 Learned about list comprehensions (creating a new list by executing a function on an existing list New_list = [new_item for item in list] Sequences = lists, ranges, strings and tuples (order matters) List comprehension can iterate over these data types in order to generate the new list. Reviewed

Continue Reading