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 3 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/03%3A_Objects/3.04%3A_List_Basics
    This page discusses the fundamentals of lists in Python, detailing creation, access, and modification. Lists are defined with square brackets and can hold diverse data types. It covers key concepts li...This page discusses the fundamentals of lists in Python, detailing creation, access, and modification. Lists are defined with square brackets and can hold diverse data types. It covers key concepts like using indexes, the len() function to determine list length, and the dynamic nature of lists. Practice questions are included to reinforce skills in list creation, indexing, and modification.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/05%3A_Loops/5.01%3A_While_Loop
    This page explains Python's while loop, detailing its functionality to repeatedly execute code while a condition is true. It offers examples like generating Fibonacci numbers and counting odd numbers,...This page explains Python's while loop, detailing its functionality to repeatedly execute code while a condition is true. It offers examples like generating Fibonacci numbers and counting odd numbers, alongside checkpoints and exercises to enhance comprehension. Users are encouraged to apply while loops in practical tasks, such as handling user inputs and calculating sums of odd integers within specified ranges.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/04%3A__Decisions/4.07%3A_Conditional_Expressions
    This page introduces conditional expressions, or ternary operators, as a simplified version of if-else statements in Python. It covers their syntax, evaluation, and provides examples, noting their low...This page introduces conditional expressions, or ternary operators, as a simplified version of if-else statements in Python. It covers their syntax, evaluation, and provides examples, noting their low precedence. The page includes practice checkpoints and encourages exercises like converting if-else statements into conditional expressions and determining variable assignments based on conditions.

Support Center

How can we help?