CS50P - Lecture 2 - Loops
This is CS50P, CS50's Introduction to Programming with Python. Enroll for free at https://cs50.edx.org/python. Slides, source code, and more at https://cs50.harvard.edu/python. Playlist at https://www.youtube.com/playlist?list=PLhQjrBD2T3817j24-GogXmWqO5Q5vYy0V.
TABLE OF CONTENTS
00:00:00 - Introduction
00:00:24 - Loops
00:00:50 - cat.py
00:03:24 - while
00:16:21 - for
00:27:00 - Validating Input
00:34:59 - Iteration with Lists
00:40:36 - len
00:45:47 - Dictionaries
00:57:02 - Lists of Dictionaries
01:05:02 - Nested Loops
01:20:17 - Conclusion
An introduction to programming using a language…
Watch on YouTube ↗
(saves to browser)
Chapters (12)
Introduction
0:24
Loops
0:50
cat.py
3:24
while
16:21
for
27:00
Validating Input
34:59
Iteration with Lists
40:36
len
45:47
Dictionaries
57:02
Lists of Dictionaries
1:05:02
Nested Loops
1:20:17
Conclusion
Playlist
Uploads from CS50 · CS50 · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Persistence
CS50
Hello, World: Hadi Partovi
CS50
CS50 Live, Episode 008
CS50
CS50 Live Outtakes
CS50
CS50 Live, Episode 009
CS50
Robotics
CS50
Content Distribution and Archival in a Digital Age
CS50
CS50x Conversation
CS50
Hello, World: Susan Wojcicki
CS50
60 Seconds of Virtual Reality at Valve
CS50
Harvard Tour, Widener Library
CS50
Harvard Tour, Harvard Yard
CS50
Camera Stabilization
CS50
CS50 2014, Coming Soon
CS50
CS50's ALS Ice Bucket Challenge
CS50
CS50 2014, Coming Soon
CS50
This is CS50 2014
CS50
CS50 Staff 2014
CS50
Extruding CS50 in 3D
CS50
Week 0
CS50
Week 1
CS50
Week 2
CS50
CS50 2014 - Week 0
CS50
CS50 2014 - Week 1
CS50
CS50 2014 - Week 2, continued
CS50
CS50 2014 - Week 3
CS50
CS50 2014 - Week 0, continued
CS50
Ansel in the Shoppe
CS50
Supersection 1, Less Comfortable
CS50
Supersection 1, More Comfortable
CS50
Section 2
CS50
CS50 2014 - Week 4
CS50
Section 3
CS50
Week 3, continued
CS50
CS50 2014 - Week 2
CS50
CS50 2014 - Week 5
CS50
Quiz 0 Review
CS50
Section 5
CS50
Section 4
CS50
CS50 2014 - Week 3, continued
CS50
CS50 2014 - Week 4, continued
CS50
CS50 2014 - Week 7
CS50
Week 4
CS50
Week 3
CS50
server
CS50
server, continued
CS50
CS50 2014 - Week 7, continued
CS50
CS50 2014 - Week 8
CS50
Section 7
CS50
Section 6
CS50
CS50 2014 - Week 8, continued
CS50
Week 8
CS50
Week 7
CS50
Week 9
CS50
Breaking Through The (Google) Glass Ceiling by Christopher Bartholomew
CS50
Introduction to Amazon Web Services by Leo Zhadanovsky
CS50
CS50 2014 - Week 9
CS50
How to Build Innovative Technologies by Abby Fichtner
CS50
Light Your World (with Hue Bulbs) by Dan Bradley
CS50
Building Dynamic Web Apps with Laravel by Eric Ouyang
CS50
DeepCamp AI