Back to Browse

Nested loops (loops within loops) Problem Solving w/Python Ch 4 Lecture 5

1.2K views
Aug 19, 2023
17:11

Do you want to learn to code? If you're a beginner, you're in the right place! This video is part of an introductory series that will teach you to program in the popular Python programming language. In this video, we learn the sorts of problems that require a nested loop, or loop-within-a-loop solution, and we learn how to write them in Python with both while and for structures. This series of videos is suitable for beginners or experienced programmers who want to learn Python. Let's have some fun learning to program with Python! You can purchase the book that goes with this video series here, as an ebook: https://amzn.to/3oiWwOb Or textbook: https://www.barnesandnoble.com/w/problem-solving-with-python-margaret-stone-burke/1129539414?ean=9798986151311 You can practice with the nested clock loop from this video here*: https://codecheck.io/files/2308060119l9n55deh78qzw16ee2h1somh You can practice with the totaling code from this video here*: https://codecheck.io/files/23080612385mn7fmgi07w9bb0ha368q6o43 You can practice writing a nested for loop here*: https://codecheck.io/files/2308061249qi8z1uy6us6fb9qs0nkbqz2i The github repository with all of the code examples for the book and these videos is here: https://github.com/ProfessorBurke/PythonProblemSolving If you want to earn credit for learning to code, take an online course at CCRI! These videos are part of the Programming Concepts course: https://ccri.edu/comp/ Here is the analog clock: https://www.visnos.com/demos/clock This is the page with the deck of cards image: https://www.classes.cs.uchicago.edu/archive/2022/winter/11111-1/deck-of-cards/index.html *The CodeCheck system courtesy of Cay Horstmann, https://horstmann.com/codecheck/ 00:00 Where we've been and where we're going 00:37 Writing a nested loop 06:05 Calculating nested totals 14:19 Nested for loops

Download

0 formats

No download links available.

Nested loops (loops within loops) Problem Solving w/Python Ch 4 Lecture 5 | NatokHD