Premium Only Content
This video is only available to Rumble Premium subscribers. Subscribe to
enjoy exclusive content and ad-free viewing.

The For Loop |Section 4|Celestial Warrior
2 years ago
2
Create a for loop blockthat iterates through the following list and prints out each item of the list in each iteration.
mylist = [1, 2, 3, 4, 5]
Expected output:
1
2
3
4
5
mylist = [1, 2, 3, 4, 5]
for i in mylist:
print(i)
Create a for loop that iterates through all the items of the following list and prints out the item if the item is greater than 2.
mylist = [1, 2, 3, 4, 5]
Expected output:
3
4
5
mylist = [1, 2, 3, 4, 5]
for i in mylist:
if i > 2:
print(i)
Loading comments...
-
11:17
Dr. Nick Zyrowski
29 days agoTop 10 No CARB No SUGAR Foods That Will Change Your Health
1.46K2 -
1:52:45
John Burk
2 hours agoThe Texas Hemp ban, DOJ removing guns from trans, and more.
3091 -
1:05:37
LindellTV
1 hour agoMike Lindell Debates Democrats in the Streets of DC
3.33K1 -
7:49
Talk Nerdy Sports - The Ultimate Sports Betting Podcast
3 hours agoTNF BEST BETS: Eagles vs Cowboys | 10 Props & Same-Game Parlays (Sept 4, 2025)
7 -
LIVE
Anthony Rogers
3 hours agoProbably the best Fortnite stream
39 watching -
47:48
The White House
5 hours agoFirst Lady Melania Trump Hosts a Meeting of the White House Task Force on AI Education
15.3K26 -
1:27:12
Sean Unpaved
2 hours agoThursday Night Thrills & Kawhi's No-Show Gig in LA
13K1 -
43:58
Members Club
2 hours ago $0.16 earnedTrump Death Hoax, Labor Day Fashion, and the Year of the Cursed CEO - MC08
3.37K4 -
LIVE
StoneMountain64
2 hours agoTOP GHILLIE SNIPERS play Warzone's NEW UPDATE
110 watching -
LIVE
Reidboyy
2 hours ago $0.20 earnedHow To Make $$$ in Delta Force Console Operations!
32 watching