Learn Python with CodeCademy: Practice Makes Perfect

preview_player
Показать описание
Brief video going over Python course Practice Makes Perfect from Codecademy.

Fan funding goes towards buying the equipment necessary to deliver 4k videos, 4k webcam, and a high quality microphone better audio. Any support is very appreciated!

My channel is here for aspiring programmers to learn easier and help debug any issues from the many great free resources available on the web.

Check out my other videos going over HTML, CSS, Ruby, Ruby on Rails, Java, JavaScript, Python, PHP, SQL, Command Line, BootStrap, jQuery, and WordPress from CodeCademy, CodeCombat, FreeCodecamp and more!

-~-~~-~~~-~~-~-
Please watch: "How I Became a Developer | My Developer Journey of the Last 3 Years | Ask a Dev"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Thank you so much for making this extremely long video! You are the most patient person I know. Wow you explain things so well and I like your thought process in how you work thru the problems. I just found you yesterday and subscribed to your channel. Keep on making these great videos because I will be following you!

willlywillly
Автор

ugh i find this practice makes perfect section so difficult. I had to look at the video or Q&A every single me feel dumb and that i don't know python

juliancheemy
Автор

Man your are awesome, I am just thinking what the hell would I've done without you .

basselkanso
Автор

oh man! this practice makes perfect is driving me crazy.
Now I have no idea whether to start over again from the very start or just hope that eventually it will make sense lol

bballer
Автор

Thanks for this series of videos, wanted to make a comment about the censor exercise, which I struggled with a bit. I had the same answer (more or less) that you had and which could even be shortened to:
def censor(text, word):
return text.replace(word, "*" * len(word))

BUT! This replaces the "word" even if it is part of another word. For example, using your code, "the cat is with catherine" returns "the *** is with ***herine." This is why the split and join functions are important - to compare whole words against the censor word.

def censor(text, word):
result = []
for item in text.split():
if item == word:
result.append("*" * len(word))
else:
result.append(item)
return " ".join(result)

So now "the cat is with catherine" returns "the *** is with catherine", which is the intent of the exercise I believe.

jeffreymason
Автор

This pratice makes perfect makes me wanna quit python all together.

mvw
Автор

is_prime

def is_prime(x):
for number in range(2, x):
if x%number == 0:
return False
if x<2:
return False
else:
#return True
print('True')

cornholio
Автор

hi, for the product code why did you set the total =1 instead of zero ?

semsemaraby
Автор

Thanks for helpful solutions you help me a lot :D I got a question. In the last question (15/15) why did you do (lengt/2 )- 1. It is correct but lets think about this example.

list= [1, 2, 3, 4, 5, 6, 7, 8]
length is 8
length /2 is 4
length /2 -1 is 3
(4+3)/2 is equal to 3.5 which is not correct. Can you explain this to me please ? Thanks a lot :)

alibeyit
Автор

I am a newbie in programming, never did any until this week.

This section of codecademy was so stupid. It reveals how they don't prepare you for anything, just learning you senseless syntax and not in a proper way. The issue is confronting the learner with such an increased difficulty without giving him the tools to think it through.

This is why, once I'm done with this Python course, I'll definitely switch to another site.

Omariau
Автор

for the digit_sum section. why did we have to turn it into a string first? I see it says that in the hint but why?

yameischeda
Автор

hey man I think that I figured out why in is prime there was the line saying if count was less than 3 return true
it is because every prime number can only be divided by two numbers it self and 1
that's why the range is from 1 to x+1 so the count would increase at 1 and the number if it was prime
he also could set the range from 2 to x and set the function to return true if the count was equal 0

islamzidanmohammedalalamy
Автор

2/15 why is it invalid to say: if x / 2 == int: instead of if x % 2 == 0: ?

jonnykahle
Автор

Did anyone else use range(2, x - 1) for the prime number question?

slackbraham
Автор

3:10 i dont why we need to turn n into a string.help

sportremix
Автор

Cant believe you made all these videos and we cant see what your typing such a waste.

YOU DO NOT NEED INTRO EXIT MUSIC!!!!

Just teach us Python!

PilotOdyssey
Автор

yo you just copy other's code, that's bad man try to work on your on code

nenojay
visit shbcf.ru