Search
- Filter Results
- Location
- Classification
- Include attachments
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/09%3A_Lists/9.04%3A_Nested_ListsThis page explains list-of-lists in Python for managing multidimensional data. It outlines key skills such as manipulating nested lists, multi-dimensional indexing, and iterating through lists with ne...This page explains list-of-lists in Python for managing multidimensional data. It outlines key skills such as manipulating nested lists, multi-dimensional indexing, and iterating through lists with nested loops. Examples demonstrate accessing elements in a two-dimensional list and using for loops for iteration. It also includes a practical exercise on matrix multiplication, highlighting the process of calculating individual elements in the product matrix.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/05%3A_Loops/5.06%3A_Chapter_SummaryThis page discusses loop constructs in programming, including while and for loops, the range() function for integer sequences, and nested loops. It explains control statements like break and continue ...This page discusses loop constructs in programming, including while and for loops, the range() function for integer sequences, and nested loops. It explains control statements like break and continue and the use of an else statement with loops. The chapter provides examples and concludes with a practical exercise to write a program that prints the first N prime numbers.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/05%3A_Loops/5.00%3A_IntroductionThis page covers programming loops, detailing their function to execute statements based on a condition. It emphasizes practical applications, such as monitoring phone idle status and iterating throug...This page covers programming loops, detailing their function to execute statements based on a condition. It emphasizes practical applications, such as monitoring phone idle status and iterating through lists. The chapter introduces two loop types—for loops and while loops—and explains the use of break and continue statements to manage loop execution flow.
- https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/05%3A_Loops/5.02%3A_For_LoopThis page explains the for loop construct in Python, highlighting its use for iterating over containers like ranges, strings, and lists. It covers the range() function for sequence generation and incl...This page explains the for loop construct in Python, highlighting its use for iterating over containers like ranges, strings, and lists. It covers the range() function for sequence generation and includes practical examples and exercises. Users can practice tasks like counting characters and printing number sequences while assessing their understanding through checkpoints. Specific programming exercises, such as counting spaces in a string and identifying even and odd numbers, reinforce skills.