Explanation: Defines a reusable function to greet a user and demonstrates its use.
Code Example:
Explanation: Shows how to add, remove, and manipulate elements in a list.
Code Example:
Explanation: Iterates over a list and prints each item.
Code Example:
Explanation: Demonstrates writing to and reading from a text file using the 'with' statement.
Code Example:
Explanation: Adds and accesses elements in a dictionary, demonstrating data manipulation.
Code Example: