Search
- Filter Results
- Location
- Classification
- Include attachments
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/01%3A_Statements/1.03%3A_VariablesThis page explains the basics of variable assignment and usage in Python, highlighting the assignment operator and naming conventions. It advises starting variable names with a letter, avoiding reserv...This page explains the basics of variable assignment and usage in Python, highlighting the assignment operator and naming conventions. It advises starting variable names with a letter, avoiding reserved keywords, and using descriptive names, specifically recommending snake_case for better readability. The text also includes practice questions to help reinforce these concepts.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/10%3A_Dictionaries/10.03%3A_Dictionary_OperationsThis page discusses Python dictionaries, highlighting their mutability and methods for accessing, modifying, and evaluating items. It explains how to obtain keys, values, and items using functions suc...This page discusses Python dictionaries, highlighting their mutability and methods for accessing, modifying, and evaluating items. It explains how to obtain keys, values, and items using functions such as keys(), values(), and items(). Techniques for adding, updating, and deleting entries are demonstrated, including square bracket notation and the update() method. The section includes practice questions to enhance understanding of dictionary operations.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.03%3A_Chapter_4This page discusses key programming concepts such as Boolean values, if-else statements, Boolean operations, and operator precedence. It highlights the evaluation of expressions, the significance of B...This page discusses key programming concepts such as Boolean values, if-else statements, Boolean operations, and operator precedence. It highlights the evaluation of expressions, the significance of Boolean variables, and provides examples of decision-making structures. The text covers the correct use of conditional expressions for assignments, illustrating how comparisons affect assigned values, and emphasizes the efficiency of using Boolean expressions directly.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/03%3A_Objects/3.05%3A_Tuple_BasicsThis page discusses tuples in programming, detailing their features like immutability, which enhances memory efficiency and performance. It covers the structure of tuples, accessed via indexing, and c...This page discusses tuples in programming, detailing their features like immutability, which enhances memory efficiency and performance. It covers the structure of tuples, accessed via indexing, and contrasts them with mutable lists. The section also includes practical examples, creation and manipulation techniques, and the use of the `tuple()` function to create tuples from lists.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/10%3A_Dictionaries/10.06%3A_Chapter_SummaryThis page outlines the features of Python dictionaries as key-value pair containers, highlighting the dict type, unique keys, mutability, creation methods, and item management. It explains accessing v...This page outlines the features of Python dictionaries as key-value pair containers, highlighting the dict type, unique keys, mutability, creation methods, and item management. It explains accessing values through square brackets or the get() method, iterating through dictionaries, using nested dictionaries, and creating dictionaries via comprehension.