Search
- Filter Results
- Location
- Classification
- Include attachments
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.05%3A_Chapter_6This page covers essential programming concepts related to functions, including their definitions, control flow, variable scope, parameters, return values, and keyword arguments. It highlights the imp...This page covers essential programming concepts related to functions, including their definitions, control flow, variable scope, parameters, return values, and keyword arguments. It highlights the importance of function calls and reusability, explaining local versus global variables and the interaction of parameters and arguments. Additionally, it discusses the handling of return values and the differences between mutable and immutable objects regarding function operations.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.00%3A_IntroductionThis page discusses how programmers use classes to represent real-world entities as objects, facilitating better design and organization in programming. It explains that a class specifies an object's ...This page discusses how programmers use classes to represent real-world entities as objects, facilitating better design and organization in programming. It explains that a class specifies an object's type, attributes, and methods, enabling multiple instances' creation. The use of classes enhances code reusability and offers benefits like data abstraction and encapsulation, improving overall usability and extensibility.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/11%3A_Classes/11.05%3A_Using_Modules_with_ClassesThis page covers selective class imports from modules, creating aliases, and emphasizes module organization for reusability. Key concepts include using import statements, the advantages of aliasing to...This page covers selective class imports from modules, creating aliases, and emphasizes module organization for reusability. Key concepts include using import statements, the advantages of aliasing to avoid naming collisions, and practical exercises that reinforce these ideas through questions on module class counts, correct imports, and fixing missing statements.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/06%3A_Functions/6.01%3A_Defining_FunctionsThis page outlines key programming learning objectives regarding functions, including identifying function calls, defining parameterless functions, and the benefits of modular and reusable code. It in...This page outlines key programming learning objectives regarding functions, including identifying function calls, defining parameterless functions, and the benefits of modular and reusable code. It includes examples, proper naming conventions, checkpoints, and practice concepts, with step-by-step tasks and user-driven functions emphasized for real-world applications.