Python Programming

  1. Data Structures in Depth
    1. Lists
      1. List Operations
        1. Indexing
          1. Positive Indexing
            1. Negative Indexing
            2. Slicing
              1. Basic Slicing
                1. Step Slicing
                  1. Slice Assignment
                2. List Methods
                  1. Adding Elements
                    1. append()
                      1. insert()
                        1. extend()
                        2. Removing Elements
                          1. remove()
                            1. pop()
                              1. clear()
                              2. Searching and Counting
                                1. index()
                                  1. count()
                                  2. Sorting and Reversing
                                    1. sort()
                                      1. reverse()
                                        1. sorted() Function
                                      2. List Copying
                                        1. Shallow Copy
                                          1. Deep Copy
                                            1. Copy Methods
                                            2. Lists as Data Structures
                                              1. Stacks
                                                1. LIFO Operations
                                                  1. Push and Pop
                                                  2. Queues
                                                    1. FIFO Operations
                                                      1. collections.deque
                                                  3. Tuples
                                                    1. Tuple Characteristics
                                                      1. Immutability
                                                        1. Ordered Collection
                                                          1. Heterogeneous Data
                                                          2. Tuple Operations
                                                            1. Packing
                                                              1. Unpacking
                                                                1. Multiple Assignment
                                                                2. Tuple Methods
                                                                  1. count()
                                                                    1. index()
                                                                    2. Tuple Use Cases
                                                                      1. Dictionary Keys
                                                                        1. Function Returns
                                                                          1. Data Records
                                                                        2. Dictionaries
                                                                          1. Dictionary Structure
                                                                            1. Key-Value Pairs
                                                                              1. Hash Tables
                                                                                1. Key Requirements
                                                                                2. Dictionary Operations
                                                                                  1. Accessing Values
                                                                                    1. Key Lookup
                                                                                      1. get() Method
                                                                                      2. Modifying Dictionaries
                                                                                        1. Adding Entries
                                                                                          1. Updating Values
                                                                                            1. Removing Entries
                                                                                          2. Dictionary Methods
                                                                                            1. View Objects
                                                                                              1. keys()
                                                                                                1. values()
                                                                                                  1. items()
                                                                                                  2. Dictionary Manipulation
                                                                                                    1. pop()
                                                                                                      1. popitem()
                                                                                                        1. update()
                                                                                                          1. setdefault()
                                                                                                        2. Dictionary Iteration
                                                                                                          1. Key Iteration
                                                                                                            1. Value Iteration
                                                                                                              1. Item Iteration
                                                                                                              2. Dictionary Comprehensions
                                                                                                                1. Basic Syntax
                                                                                                                  1. Conditional Comprehensions
                                                                                                                    1. Nested Comprehensions
                                                                                                                  2. Sets
                                                                                                                    1. Set Characteristics
                                                                                                                      1. Unique Elements
                                                                                                                        1. Unordered Collection
                                                                                                                          1. Mutable Sets
                                                                                                                          2. Set Creation
                                                                                                                            1. Set Literals
                                                                                                                              1. Set Constructor
                                                                                                                                1. Empty Sets
                                                                                                                                2. Set Operations
                                                                                                                                  1. Adding Elements
                                                                                                                                    1. add()
                                                                                                                                      1. update()
                                                                                                                                      2. Removing Elements
                                                                                                                                        1. remove()
                                                                                                                                          1. discard()
                                                                                                                                            1. pop()
                                                                                                                                          2. Mathematical Set Operations
                                                                                                                                            1. Union
                                                                                                                                              1. Intersection
                                                                                                                                                1. Difference
                                                                                                                                                  1. Symmetric Difference
                                                                                                                                                    1. Subset Testing
                                                                                                                                                      1. Superset Testing
                                                                                                                                                      2. Set Comprehensions
                                                                                                                                                        1. Basic Syntax
                                                                                                                                                          1. Conditional Set Comprehensions
                                                                                                                                                        2. Comprehensions
                                                                                                                                                          1. List Comprehensions
                                                                                                                                                            1. Basic Syntax
                                                                                                                                                              1. Expression Evaluation
                                                                                                                                                                1. Conditional Comprehensions
                                                                                                                                                                  1. if Conditions
                                                                                                                                                                    1. if-else Expressions
                                                                                                                                                                    2. Nested Comprehensions
                                                                                                                                                                    3. Dictionary Comprehensions
                                                                                                                                                                      1. Key-Value Generation
                                                                                                                                                                        1. Conditional Dictionary Comprehensions
                                                                                                                                                                        2. Set Comprehensions
                                                                                                                                                                          1. Unique Element Generation
                                                                                                                                                                          2. Generator Expressions
                                                                                                                                                                            1. Memory Efficiency
                                                                                                                                                                              1. Lazy Evaluation