Loading [MathJax]/jax/output/SVG/config.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 4 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/04%3A__Decisions/4.00%3A_Introduction
    This page explains Python's program execution, primarily along a single path, while enabling multiple execution routes through conditional statements (branches). It uses an analogy of choosing paths b...This page explains Python's program execution, primarily along a single path, while enabling multiple execution routes through conditional statements (branches). It uses an analogy of choosing paths based on width to clarify branching. The discussion links to earlier topics on expressions, highlighting their significance in decision-making within programming.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/04%3A__Decisions/4.05%3A_Chained_Decisions
    This page outlines learning objectives for decision-making in programming, focusing on if-elif and if-elif-else structures to evaluate conditions effectively. It emphasizes chaining decision statement...This page outlines learning objectives for decision-making in programming, focusing on if-elif and if-elif-else structures to evaluate conditions effectively. It emphasizes chaining decision statements to prevent incorrect execution of branches. Various examples illustrate practical applications, including scenarios like travel layovers and chess moves. The page concludes with practice exercises to reinforce the concepts of conditional programming.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/04%3A__Decisions/4.03%3A_Boolean_Operations
    This page explains logical operators in Python: "and," "or," and "not." It details their functions and truth tables, with "and" returning true only if both conditions are true, "or" being true if at l...This page explains logical operators in Python: "and," "or," and "not." It details their functions and truth tables, with "and" returning true only if both conditions are true, "or" being true if at least one condition holds, and "not" inverting a condition's truth value. Practical examples demonstrate their application in decision-making, such as eligibility assessments and refund processes.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/05%3A_Loops/5.04%3A_Break_and_Continue
    This page outlines learning objectives for using break and continue statements in programming loops. The break statement enables exiting loops when conditions are met, while the continue statement ski...This page outlines learning objectives for using break and continue statements in programming loops. The break statement enables exiting loops when conditions are met, while the continue statement skips the remainder of a loop without exiting. The text discusses infinite loops, provides examples, and includes practical exercises to reinforce these concepts, enhancing runtime efficiency and control flow in programming.

Support Center

How can we help?