Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 20 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/01%3A_Statements/1.04%3A_String_Basics
    This page presents basic string concepts in Python, including defining strings, using the len() function, and string concatenation. It features examples of valid/invalid strings, practice questions, a...This page presents basic string concepts in Python, including defining strings, using the len() function, and string concatenation. It features examples of valid/invalid strings, practice questions, and user input introductions. Additionally, there are two programming exercises focused on calculating name lengths and formatting greetings with variables.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/03%3A_Objects/3.06%3A_Chapter_Summary
    This page discusses fundamental programming concepts, including strings as Unicode representations, indexing methods, and the distinction between mutable lists and immutable tuples. It highlights the ...This page discusses fundamental programming concepts, including strings as Unicode representations, indexing methods, and the distinction between mutable lists and immutable tuples. It highlights the efficiency of F-strings for formatting and covers memory management techniques like obtaining object identity and type, supported by practical code examples.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/01%3A_Statements/1.03%3A_Variables
    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 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)/01%3A_Statements/1.09%3A_Chapter_summary
    This page provides an overview of Python programming basics, covering input/output functions, variable assignments, data types, arithmetic operations, and coding practices. It includes practical exerc...This page provides an overview of Python programming basics, covering input/output functions, variable assignments, data types, arithmetic operations, and coding practices. It includes practical exercises such as calculating squares and cubes and creating a mad lib game. The chapter highlights the significance of syntax and proper code structure to guide readers in developing functional programs.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/01%3A_Statements/1.07%3A_Comments
    This page outlines learning objectives for writing effective comments and docstrings in Python. It emphasizes the purpose and formatting of comments, prioritizing clarity and structure for code readab...This page outlines learning objectives for writing effective comments and docstrings in Python. It emphasizes the purpose and formatting of comments, prioritizing clarity and structure for code readability. Additionally, it discusses the role of docstrings in program documentation, providing guidelines for effective use. It also highlights the importance of separating code sections with blank lines and crafting informative comments.
  • https://eng.libretexts.org/Courses/Butler_County_Community_College/Using_NIST_for_Security_and_Risk_Assessment/02%3A_Security_Assessment_Using_SP.800-171r2_and_SP.800-172/2.05%3A_Variables
    For example, under ACCESS CONTROL, the question: (do you) “Limit system access to authorized users, processes acting on behalf of authorized users, and devices (including other systems)”? A short, sat...For example, under ACCESS CONTROL, the question: (do you) “Limit system access to authorized users, processes acting on behalf of authorized users, and devices (including other systems)”? A short, satisfying statement would be (yes) via “Role-based Access Control (RBAC)”. The trimmed statement, Role-based Access Control (RBAC), is placed in the cell directly below the control-requirement.
  • https://eng.libretexts.org/Courses/Oxnard_College/Matlab_and_Octave_Programming_for_STEM_Applications_(Smith)/03%3A_for_Loops_Ploting_Points_Sequences_and_Series/3.01%3A_Updating_Variables
    Each day 5 percent of the bikes in Boston are dropped off in Cambridge, and 3 percent of the bikes in Cambridge get dropped off in Boston. The problem is that the first line changes the value of b, so...Each day 5 percent of the bikes in Boston are dropped off in Cambridge, and 3 percent of the bikes in Cambridge get dropped off in Boston. The problem is that the first line changes the value of b, so when the second line runs, it gets the old value of c and the new value of b. As a result, the change in b is not always the same as the change in c, which violates the Principle of Conservation of Bikes! Even if the value of b_to_c is wrong, at least the total number of bikes is right.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/06%3A_Functions/6.00%3A_Introduction
    This page discusses the importance of functions in software development for optimizing code and enabling code reuse. Functions can accept and return values, allowing them to perform various tasks, inc...This page discusses the importance of functions in software development for optimizing code and enabling code reuse. Functions can accept and return values, allowing them to perform various tasks, including complex calculations. They help create different execution paths, similar to branching statements. Additionally, the chapter explores control flow and variable scope in programming.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/02%3A_Expressions/2.00%3A_Introduction
    This page explains the structure of a computer program, focusing on sequential statements and expressions used in Python to compute values. It covers simple expressions, handling of numbers and string...This page explains the structure of a computer program, focusing on sequential statements and expressions used in Python to compute values. It covers simple expressions, handling of numbers and strings, experimentation with the Python shell, details on integers and floating-point numbers, the math module, and offers readability tips for coding.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/03%3A_Objects/3.03%3A_Variables_Revisited
    This page offers insights into variables, objects, and references in Python, emphasizing that variables point to objects rather than having intrinsic identity or type. Key concepts are supported by me...This page offers insights into variables, objects, and references in Python, emphasizing that variables point to objects rather than having intrinsic identity or type. Key concepts are supported by memory diagrams, and functions like id() and type() are introduced for object information retrieval. The text encourages practical understanding through Python Tutor and includes exercises for visualizing memory diagrams and exploring variable-object relationships.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/06%3A_Functions/6.06%3A_Keyword_Arguments
    This page explains positional and keyword arguments in Python functions, detailing their assignment method and the significance of order when combining them. It introduces default parameter values, pr...This page explains positional and keyword arguments in Python functions, detailing their assignment method and the significance of order when combining them. It introduces default parameter values, provides examples of function calls, and highlights PEP 8 style guidelines for spacing. The text concludes with a task to implement a donation function utilizing these concepts.

Support Center

How can we help?