Introduction to Python Programming Course - Part 9
Still got a fair bit with Control Flow. But looking ahead, there's not much with the other sections e.g. functions. Going to do another half hour or so - that will be it for the weekend! Start Time - 13:11 While Loops For - definite iteration. Definitive number of times the body runs. Indefinite - this is while. A great distinction! Never got that before. So while loop ends when a condition is met. Using sum as a method. Then pop method too. Checking the condition and running the loop until it becomes FALSE. Value of test condition has to change otherwise it would be infinite! Factorials - Practice Awesome! Got it. All logic and all worked! Not sure about doing it with for loop - will find out... Ah yes the range option. So it would be using that method to set the parameters. Forgot that to be fair. Quiz on While loops.. Yes got this bit! Wasn't sure at first... start_num = 4 #provide some start number end_num = 12 #provide some end number that you stop when you ...