Loop patterns Problem Solving w/Python Ch 4 Lecture 2

Опубликовано: 21 Октябрь 2024
на канале: DesignCodeDebugRepeat
389
13

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 some different looping patterns and how to write them. We cover summing values, finding a value that's a best fit for some criteria, and an undetermined number of values. 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/prob...

You can practice with the summing code from this video here*:
https://codecheck.io/files/2307220137...

You can practice with the code that finds the largest value entered here*:
https://codecheck.io/files/2307220146...

You can practice with the code that obtains values until the user is done entering them here*:
https://codecheck.io/files/2307220152...

The github repository with all of the code examples for the book and these videos is here:
https://github.com/ProfessorBurke/Pyt...

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/

This is the variable roles paper referenced in the video:
http://saja.kapsi.fi/var_roles/abstra...

*The CodeCheck system courtesy of Cay Horstmann, https://horstmann.com/codecheck/


00:00 Where we've been and where we're going
00:50 Variable roles
01:19 Adding up values in a loop
10:19 Finding the largest value entered
16:52 Obtaining an undetermined number of values