Python Beginner Tutorial 8 - For loop, Lists, and Dictionaries

preview_player
Показать описание
This tutorial covers an introduction of for loops, lists and dictionaries. The primary goal of this video is to tie up loose ends and introduce basic data structures so they can be used in future videos. This video also covers how to import existing code in your project to spread a program over multiple files for organization and code reuse purposes. After watching this video you should have a basic understanding of for loops, lists, and dictionaries. You should feel comfortable creating lists and dictionaries and appending new elements. You should also be able to loop over all of the items in a list or dictionary using a for loop.

Files:

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

What you said at the end about not worrying if I don't understand made me feel a lot more comfortable. Thanks!

veryexciteddog
Автор

Kevin, really appreciate you taking the time to make these videos. I do feel though that with this format it really doesn't force me to struggle through writing the code myself, which was leading me to true understanding. While I can appreciate the amount of complex topics you wanted to cover in this video...don't give up on the original format! The verbal explanations are hard to follow & I'm now struggling to keep up.

becomingalulabro
Автор

If your not new to coding but new to Python, you can just smash through the attached files in less than 5 mins by reading them, and skim through the video. But give him views and like, he sure deserves it.

edmel
Автор

I'm learning Python in my college course right now, and your videos was of great help. Happily enough, Python didn't change that much in almost 5 years that past along since you recorded these video. Much obliged! And also, if you'd ever return to your practice as a great educator - your original format with writing the code and explaining it on the go was just ideal! I understand that lists and dictionaries are really complex and require a lot of demonstration and explanation, but having the same topic in my schoolbook I may confirm from experience that it's just mind-blowing to try and get it in from reading and/or listening. Practice is the key.
Once again - thank you! I'm not sure if I'd be able to learn as productively as I was without your help).

Meppoy
Автор

Kevin, please make more tutorial vids because you definitely have a gift. You spell out the for loop, which is great because the for loop somewhat differs in syntax in Python from other languages. For Dict, you mention different or multiple keys can refer to the same value. I like how you went over the try/except clause and mention to make the plain catch all except as the last exception. I viewed other Python vids, but these items escaped me. Thank you!

kellysoo
Автор

Hey Kevin: These are great, man. You've kickstarted my programming career. I'm making a little text-based game as I go through your tutorials. I'll end up on the community at some point, but in the meantime, I do really appreciate you putting this stuff out there. It's very easy to follow along and I hope to get quite good in the years to come.

Abstractionist
Автор

Wonderful videos. It would be a great help if you can increase the font size.

Sonal.Saxena
Автор

The best crash course ever! Thank you.

nguyendu
Автор

WHEW. I have a headache now. x.x Love your videos! I pretty sure they're really helpful but I'm too new to really know yet. I'm a musician gone rogue; I want to work in the sciences so I've decided to get started with coding. Not sure where I'm headed yet but I love physics, astronomy, and AI. Maybe it'll all tie together someday? Anyway, thanks again!

TheToadSpinner
Автор

First of Thank You! You are the Man! I have watched nearly every video that has "Python" in its title. Even the stuff in foreign languages. I can say with all credulity, that your effort and style has got to be ranked at the top. Ok Professor? What you offer *FOR FREE* in your videos, most people have not for paid offerings. I have learned a great deal from your videos. Learning by example and doing really speeds the process of learning up enormously. This particular video does require slowing down and take it in, in small bytes. little joke there.
For Kinesthetic learners, such as myself rewriting your (code examples / lessons) and watching it run or not is really helpful in learning Python. My only complaint about Python in general is this "White Space" delimitation. I prefer Curly Brackets as in Scala & Java. Do you have any opinions on Scala? Do you see it continuing on? And do you like Scala?

divusiulius
Автор

Thanks for the tutorial! I need to pick up Python quickly so it was helpful.

do__ob
Автор

Great video, Kevin! I am powring some aspirin into cup right now.

aleksandargeorgiev
Автор

Hi Kevin..
Not able to find files in the given links.. could you pls make sure files available again?
Regards,
Guru

msguruprakash
Автор

These videos helped me a alot. Thanks for your kindness.

sajjadmohammadnejad
Автор

Woo hoo! I waited for this one to come out. I just wanted to say thank you for putting effort into making these videos. I was wondering though how I could convert a .py into an exe, so anyone would could run it on the internet. Thank you!

progress
Автор

I wish I could just instantly jam this into my head instead of taking 4 hours to get through half of it because I can't focus.
*Rewinds again*

lishrich
Автор

it would be great if you said how and why we would use nested dictionaries

rolandspringer
Автор

thank you ur my hero becaus of u i get inspired to make a game ty love u

receptayyiperdogan
Автор

great video. Please increase your font size

godwingadri
Автор

Thanks so much Kevin. It's extremely helpful video for a beginner like me.

Hope you could help me out to understand a line of code shown in your program: "calculator.runOperation (operation, num1, num2)".
What I am confused is that we already had the "runOperation" in the Calculator.py, so why do we need to include it again when we call up the module calculator? Why not "main ()" or some thing else?

PHUONGPHAN