Basics about list data structure in python Topics: Indexing and slicing Looping Basic star pattern List comprehension usage of lambdas coupled with map,filter,reduce Indexing and slicing Indexing is used to access elements at particular index position from your list where as slicing can be used to get elements between two…