CS50x 2023 - Lecture 6 - Python

preview_player
Показать описание
***

This is CS50, Harvard University's introduction to the intellectual enterprises of computer science and the art of programming.

***

TABLE OF CONTENTS

00:00:00 - Introduction
00:01:12 - Python
00:03:10 - Compilation, Interpretation
00:04:32 - Hello
00:15:09 - Types
00:16:51 - Speller
00:25:56 - Image Recognition
00:31:06 - CS50 library
00:32:22 - Conditionals
00:35:09 - Variables
00:36:33 - Loops
00:41:50 - Calculator
00:51:35 - Compare
00:59:31 - Object-Oriented Programming
01:05:20 - Meow
01:14:38 - Mario
01:35:45 - Scores
01:40:35 - Uppercase
01:43:57 - Greet
01:48:27 - Exit Status
01:51:02 - Search
01:54:15 - Phonebook
02:00:49 - Compare
02:04:11 - Swap
02:05:13 - CSV
02:11:01 - Speech

***

HOW TO SUBSCRIBE

HOW TO TAKE CS50

HOW TO JOIN CS50 COMMUNITIES

HOW TO FOLLOW DAVID J. MALAN

***

CS50 SHOP

***

LICENSE

CC BY-NC-SA 4.0
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License

David J. Malan
Рекомендации по теме
Комментарии
Автор

This lesson is like a cool drink of water in the desert after dealing with pointers, linked lists, and hash tables for 2 weeks

Jack_______oh
Автор

This is simply golden. Thank you, David and the whole CS50 team for sharing it with the world for free.

violettasolovyova
Автор

Hello, David.

I've accidentally caught your live lesson today, and

I'm writing to thank you, because exactly 10 years ago you've changed my life forever.

In 2012 I attended CS50 on edX, after I already left two IT universities in Russia.

After I finished the lecture 0 with you, I literally cried. Your way of learning is just incomparable to any! If all of education was at least a bit as entertaining as your lessons are!!

You showed me that everything is interesting and deeply inspired me forever! Since then, all this 10 years I'm constantly learning. Learning everything :)

Thank you, sincerely.

forhotchpotch
Автор

This was CS50. And gosh, i loved that one!
The thing is, with previous 2 lectures i had to take a break each 20 minutes or so, because amount of pointers and C-related "magic" was overwhelming, but this one? I've just ran though and i was surprised to hear "this was CS50". That's it for python? no strain? no blood, sweat and tears?
Purely awesome. I loved it.

KretusRex
Автор

Congrats to anyone who made this far! Half of the way is finished! And thanks to all who made this wonderfull course!

KiYugaki
Автор

I served in Korean army. Wherever I go, I used to carry all the stuff like K2 rifle, gas mask and a lot of heavy military gear. Introducing python feels like running without all the gears. Fantastic language. Before I take cs50 class, I take it for granted Python and complain about that. cuz it was difficult to me anyway. But not anymore.

moju
Автор

The lights on the ground spell out 'Pythonic'. Which is to not only to write code that works correctly in Python with the correct syntax but to write code that leverages the conventions of the language in a way it was intended to be used. (I'm new to Python - learned this by deciphering the machine language and perhaps someone else wanted to know)

Imagoofygoober
Автор

I was expecting the exact thing from the QR code produced by David's program, but still went for it. Even more wonderful the lecture was owing to that!

bowbert
Автор

This message is from the future. You should watch the first part of Lecture 7 if you're having trouble understanding python loops and csv files. csv files are flat-file databases(the title of the lecture part)

FlowersByIrene
Автор

This was CS50 and i loved every bit of it. I wish i had found it at right time but nonetheless it taught me low level concepts what my years of graduation couldn't. David is just awesome. Thanks Harvard for this ❤

.am
Автор

I love these lectures even more after scanning the qr code.

YD
Автор

OMG
My mind was blown at 1:02:10 where David suggests dot operation to access the methods of str in python. 😮

stantde
Автор

That was the best lecture in Python!!! Thanks a lot!

Kharkovsailing
Автор

Python is such a relief after C. At 1:40:00 David mentions a shorter way to append to the scores array. I think this is even shorter. No need to create a "score" variable at all:
scores = []
for i in range(3):
scores.append(get_int("Score: "))
print("Average of the input is: ", sum(scores) / len(scores))

Ithicuss
Автор

finally!! i'm so excited for this lecture I LOVE PYTHON AND CS50

antotot
Автор

Really cute seeing all the millennial humor in this series, what with The Office example, the Harry Potter one in a prev episode, and the fact the pfp for this channel is the Can I Haz Cheezburger cat

spombg
Автор

Thank I remembered everything from a lecture on python
programming

one_monster
Автор

So they give a general overview of Python in two hours?! Wow!

DeleMike
Автор

I did not expect to get rickrolled like that!

luckydevil
Автор

This was one of the most interesting week of all.

AliMateen