Functions in Python - Beginner Python Tutorial #3 (with Exercises)

preview_player
Показать описание
Third tutorial in my python programming series. In this video we first go over the challenge problem from last video on conditional statements. After that we go over the important concept of functions in programming. We practice writing functions over a variety of different exercises.

If you want to learn quicker watch on 1.25x or 1.5x speed!

If you have any questions, please leave a comment and I'll do my best to get back to you quickly :)

Link to coding bat website where you can find exercises:

Link to my code featured in this video:

Thanks for watching! Make sure to SUBSCBRIBE to not miss any future videos.

-------------------------
PYTHON TUTORIAL SERIES:

-------------------------
Follow me on social media!

-------------------------

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Рекомендации по теме
Комментарии
Автор

Video Outline!
0:54 - Challenge Problem from Last Video
6:47 - Why do we need functions? (Turtle Example)
10:12 - Writing our first function
13:32 - Difference between "print" & "return"
16:13 - More complex functions
20:59 - Coding bat example problems

Thanks for watching! Let me know if you have any questions on anything covered in this video.

KeithGalli
Автор

Hello Keith, I know it is 2021 but I have searched for hours in tutorials, but no tutorial make any sense to me until I found your courses. So thank you, you helped me a lot!

recordteamnl
Автор

You are the king of explaining complex stuff into simpler terms. Thank you.

shawnabirnbaum
Автор

my man almost dying on camera to teach us python. Real OG. Thanks for the lessons

tbuckyfilms
Автор

Best explanation of return vs print that I've seen (and you did it with less words)!

nickt
Автор

Hey Keith! Just wanted to say these videos have been awesome. You move at a great pace and you explain things clearly. I hope that you keep making tutorial videos in the future!

juanong
Автор

The Best Python tutorials so far You are the Best !!!!

mahadevmanu
Автор

Just started programming, this sure helps a lot. You´re the best man!

juanaylwin
Автор

best and most structured tutorials I've seen so far on youtube, thank you I've learned a lot from you today

erfannazari
Автор

These videos are a great way to learn more about a topic I just learned breifly and a good way to brush up every once and a while
Thank you my good sir

sovietleader
Автор

def monkey_trouble(a_smile, b_smile):
if (a_smile and b_smile) or not (a_smile or b_smile):
return True
else:
return False

slashsharma
Автор

Hello! Thanks for your tutorials😊. It really work to my python programs

angelasamboa
Автор

hey Keith.. I like the way you do man.. It's the Sensible way of making things try.. Thumb Up..!!

sridhardubasi
Автор

At 18:00 I did
def cubeNumber(x):

return x



a = cubeNumber(3)

b = cubeNumber(4)

c = cubeNumber(5)

print(a+b+c)

gekkoper
Автор

25:55 You are so right! I did it this way:
def sum_double(a, b):
if a != b:
return a + b
else:
return (a + b)*2
and i wasn't sure if it's gonna work like yours, but it did and I'm surprised in this whole thing with python that I've started basically 4 hours ago. I follow all of your tutorials and I need help with the turtle thing.
When I write import turtle and build that it gives me this error: AttributeError: module 'turtle' has no attribute 'Turtle'. I really wanna fix this and if anyone has any ideas i beg them to help me.
Good luck with your super cool channel, good bye!

george.alexxx
Автор

Heeheeheehee! I am enjoying this too entirely much! :D

mdbgamer
Автор

Thank you so much for all the wonderful tutorials

_mayamba
Автор

Very well explained thanks from france :D

atlastitan
Автор

Thank you so much, your videos are really helpful. :)

manny.
Автор

bruh you're sooo cool. you made python lot easier to me. i subbed :D

thecamoedone
join shbcf.ru