Codecademy - Python: Tutorial #10

preview_player
Показать описание
Enroll for coding exercises, projects, tutorials, and courses...

This is part 10 of the Codecademy Python Walkthrough Tutorial. It covers topics like loops, for loops, strings, looping strings, arbitrary loop variable, list loops, dictionary loop, for loop conditionals, counter variable, increment, incrementing shorthand, string formatting, complicated functions with dictionaries and loops, function arguments, and much more!

======================= ABOUT PYTHON CODECADEMY SERIES =================

The target audience are beginners or developers looking to pick up Python. I also emphasize the importance of writing good code and I go through the first part really fast.

I will literally be going through every single thing and breaking it down for you so there is nothing for you that would be scary. You can watch me do it and you can simply follow along you will learn ALL the basics. I swear I wish something like this was out there when I started learning because everyone else explains things in such a complicated way and makes it so boring! I honestly think programming is based upon exploration and creativity rather than some mathematical/logical genius frame of mind! I spent a lot of hard work in making this so I hope you guys enjoy and learn something out of it while having fun! This is targeted towards beginners, for developers looking to learn python, or for individuals looking for a refresher on basics in computer programming!!

============================= CHANNEL INFO ============================

Enroll for coding exercises, projects, tutorials, and courses...

Clever Programmer
Snapchat ► Rafeh1
Рекомендации по теме
Комментарии
Автор

Great job on these guides Rafe! I like how you substitute the actual values for the variables and how the expressions simplyfies. It's so much easier to see how the algorithm works and how the computer spits out the answer. As a new coder it really helps a lot! Functions itself is already confusing but the way you substitute it helps so much. I can't imagine later on when the codes go to functions within functions within functions lol

ambermeows
Автор

Thank you I was so lost to begin with and now I only have to use your video's as references when i get stuck!

hourglass
Автор

@ around 15:30, when you are printing the prices and stock of fruit using the for loop, why doesn't print in corresponding order with the dictionary? Yours prints, oranges, pears, bananas, apples...while the order of the dictionary is bananas, apples, oranges, pears. Very confused on this, any insight would be greatly appreciated!

schmidt
Автор

Thanks for the videos, great way to learn Python

rozageorgevna
Автор

Yay, made it to #10!
Do you have any tips on things I can code to practice? I'm struggling with knowing what I can use my new coding knowledge on!

Oh, and congratulations on 100 subscribers!!

TheVegardH
Автор

Great tutorial video ! Is there any way where i can practice more for functions ?

seannnlim
Автор

thanks man i dont think i would be able to make it alone...

GOLEM-yfmx
Автор

OH YEAH WELL DONE FOR 200+ SUBS, ITS GOOD TO KNOW IM ONE OF THEM

alisterdavid
Автор

very helpfull videos thanks please make html and css later again thank you very much

aimanechouhaibi
Автор

Please Differentiate between Print and Return

narayanansantharaman
Автор

For Part 8, Keeping track of the produce, in A day at the supermarket, I wrote this code, which is exactly similar to the one you wrote although at codecademy it shows an error
Help please!




# Creating a price dictionary
prices = {
"banana": 4,
"apple": 2,
"orange": 1.5,
"pear": 3
}

# Creating a stock dictionary

stock = {
"banana": 6,
"apple": 0,
"orange": 32,
"pear": 15
}

for price in prices:
print(price)
print("price : %s" % prices[price])
print("stock : %s" % stock[price])

shivendra_misra
Автор

Why does it have print twice in the middle?

acanthoSaprophyte
Автор

COULD YOU SHARE YOUR REPL.IT PAGE FOR EVERY LESSON IN THE DESCRIPTION

alisterdavid
Автор

Can You Please Make "Build A Game" or "Build A Program" Video?!

paradoxi
Автор

every video so far have been great with good explanations, the feedback tho is in many part of the videos, you are explaining thins very good and repeatedly but only the easy part, when theres something wrong in the code you are not explaining that like you do with other things, for example in the ending part in this video when your wrote "shopping_list" instead of "food". the code didn't work because your wrote wrong and then you just corrected that and the video was ended without any deep explanation, i still don't understand why its working with "food" and not with the other part

philipT
Автор

HOW ARE YOU ON

Python 3.5.1 (default, Dec 2015, 13:05:11)
[GCC 4.8.2] on linux

FOR REPL.IT



CAUSE IM ON


Python 3.5.2 (default, Dec 2015, 13:05:11)
[GCC 4.8.2] on linux

alisterdavid
Автор

I am fan .
So I think to tells you something .
can you read this


prices = {
"banana":4,
"apple":2,
"orange":1.5,
"pear":3
}
for item in prices:
print 'item is %s with prices %s' % (item, prices[item])

cder
Автор

sir, i need your help please. i hope you will ans me :(

theboringstudioo
Автор

Am I the only one who thinks he look alike the younger version of the ethnic cop from Super Troopers? lol

DannyBoy
Автор

anyone else noticing how the view counts begin to drop after people give up lol!!!! i will never give up

jakem