Digital Marketing

While Loops and The Break Statement in Python (Python Tutorial #6) [Video]

Cheap and easy Video Content Marketing

FavoriteLoadingAdd to favorites

How to use while loops and the break statement in Python.

This entire series in a playlist:
Keep in touch on Facebook:
Download the sample file:
Subscribe to my newsletter:
Support me on Patreon:


  1. I don’t know why but I think CSDojo is the only person I don’t mind giving me homework, even if it’s like very hard I will still don’t mind XD

  2. AKAugust 31, 2020 at 9:12 am – Reply

    why is there [i] after given list at 4:24

  3. my solution:
    # for loop

    list_task = [7, 5, 4, 3, 2, 1, -1, -2, -3, -5, -6]

    total_sum = 0

    for num in list_task:

    if num < 0:

    total_sum += num


    # while loop

    total_sum2 = 0

    index = -1

    while True:

    total_sum2 += list_task[index]

    index -= 1

    if list_task[index] > 0:



  4. somehow got it like this didn't see any other like it a little confused.
    given_list3 = given_list = [7, 5, 4, 4, …

Watch/Read More

Digital Marketing

In this weeks Week in Review: Quibi shuts down just six months after launching, Google claims its seeing success from its sandbox experiments, and Snapchat sees growing revenues and user engagement. To receive an update on the industrys top stories every Friday, sign up to the weekly Video Round-Up.