CS50P - Lecture 1 - Conditionals
TABLE OF CONTENTS
00:00:00 - Introduction
00:00:24 - Conditionals
00:02:47 - if
00:09:56 - elif
00:15:06 - else
00:18:30 - or
00:22:06 - Not Equal
00:24:17 - Indentation, Colons
00:25:13 - and
00:28:48 - Chaining Comparison Operators
00:32:20 - Bugs
00:34:16 - Modulo
00:40:00 - Boolean
00:44:10 - Pythonic Expressions
00:48:15 - match
00:55:41 - Conclusion
An introduction to programming using a language called Python. Learn how to read and write code as well as how to test and "debug" it. Designed for students with or without prior programming experience who'd like to learn Python specifically. Learn about functions, arguments, and return values (oh my!); variables and types; conditionals and Boolean expressions; and loops. Learn how to handle exceptions, find and fix bugs, and write unit tests; use third-party libraries; validate and extract data with regular expressions; model real-world entities with classes, objects, methods, and properties; and read and write files. Hands-on opportunities for lots of practice. Exercises inspired by real-world programming problems. No software required except for a web browser, or you can write code on your own PC or Mac.
Whereas CS50x itself focuses on computer science more generally as well as programming with C, Python, SQL, and JavaScript, this course, aka CS50P, is entirely focused on programming with Python. You can take CS50P before CS50x, during CS50x, or after CS50x. But for an introduction to computer science itself, you should still take CS50x!
-
LIVE
Steven Crowder
1 hour ago🔴 Kamala Abandons America: Dockworker Strike & Hurricane Helene Devastation
18,651 watching -
LIVE
Right Side Broadcasting Network
1 day agoLIVE: President Trump to Hold a Rally in Saginaw, MI - 10/3/24
4,538 watching -
LIVE
Graham Allen
2 hours agoOCTOBER SURPRISE! Ports On Strike, Banks Losing Money, War in Iran… WHAT’S NEXT?!
8,528 watching -
LIVE
2 MIKES LIVE
1 hour agoThe Mike Schwartz Show 10-03-2024
291 watching -
LIVE
Matt Kohrs
11 hours agoMarket Insanity, Insider Trading & Breaking News || The MK Show
1,456 watching -
36:06
BonginoReport
3 hours agoMale Feminist Doug Emhoff Abuses Women??? (Ep.56) - 10/03/24
18K73 -
7:06
Howard Lutnick
1 day agoBBC News coverage of the 2024 Vice Presidential Debate with Howard Lutnick
13.9K -
LIVE
Vigilant News Network
17 hours agoShocking New Claims Emerge Surrounding Kamala Harris’s Husband | The Daily Dose
1,001 watching -
1:58:25
AP4Liberty
2 hours agoStriking Union Boss Lives in Luxe Mansion
11.5K -
12:23
IsaacButterfield
1 day ago $0.11 earnedOur Freedom Is UNDER ATTACK
18.9K17