Python 3 Tutorial: 5 - Functions Intro.

preview_player
Показать описание
In this Python 3 tutorial, I cover the basics of functions in Python as I briefly explain what functions are, and show how to create and call them. I also show what parameters are, and how to create and call functions that contain parameters.
Рекомендации по теме
Комментарии
Автор

One of the few Python 3 tutorials that actually explain shit, not just write examples. Thanks a lot bud!

alvihabib
Автор

Thank you so much for this easy to understand explanation! I'm a CIS major taking my first Python course and these functions were making me feel crushed - but now I'm feeling hopeful!

pewter
Автор

genuinely great as some tutorials on the internet are written like Einstein's theories and this is the greatest for me to understand :)

ytGamerNova
Автор

Your tutorials arevery helpful.
Whenever I learn a new command in Python I try to apply it to a video game mechanic.
By experimenting and trying to see how the new information can be applied to my ultimate goal of making a game, I'm kept motivated. It also makes learning the basics more fun and educational.
I used this tutorial to create a function called Combo Attack that gives my characters a chance to sync their attacks and perform bonus damage. But if they mess up, their damage is reduced.

genepoole
Автор

Helpful, sat in on a class and I couldn't quite grasp the concept, understood it here.

Kinda like when little kids teach you another language and they do a better job than text books.

airawolf
Автор

I've looked through videos, as well as, the python website. Between the two, this was simpler for me as an entry level computer science major with no programing experience. Good tutuortial.

masds
Автор

Good job ninja. Props to a simple but well explained tut.

salomonmartinez
Автор

Mention that when a function returns something, it acts as sort of a value for the function. So in your example, if you wanted to add the returned value of func2 with 7 you could type.

func2(1, 3)+7 and the output would be 11. This kinda old but for those of you just watching this is very useful.

Iwebguru
Автор

correct me if i am wrong... I think the reason they are arguments is because parameters are essentially placeholders for later determined variables that allow the user to utilise a certain block of code and differentiate it for different purposes... btw thank you for the tutorials, they are helping with my transition into python

frenchy
Автор

Reli like your tutorial!!! it helps a lot! Especially for the computer science student who never study programming before (like me!!)!!!!

wonghoikaerica
Автор

Thanks! this really helped me to find the gate to get out from where I was stuck in! :)

samangi
Автор

Thanks for the tutorial, I am using another guide to learn Python but had hit a brick wall. This video helped.

gerrymorris
Автор

Well, simple is always good; I am fed up with all those enormously difficult tutorials on programming

stanislavdimitrov
Автор

Awesome tutorials they have helped me so much

AgentAergo
Автор

After most of the time I spent learning Java, C++, and Lua, I was always thrown off in learning Python's unique form of syntax. From what I've learned so far, unlike Java and C++, Python's methods never use return types. It sure makes things easier, I'll tell you that ;)

overhaul
Автор

thanks buddy you have really helped me getting started.

TarkanIV
Автор

New subscriber :) thank you so much for these tutorials!! they are the most helpful ones I've found!

hellobeq
Автор

GIve this guy creds, thumbs upp and subs He is amazing totally worth it :) best teacher found on youtube easy to learn from and understand thanks dude

volbeatowns
Автор

due nice really helped and really liked it keep it up

carterjames
Автор

@TheMonkeyLords its really help me. So, can u tell me tell me the advantage of using function in Python?

LDDLucas
visit shbcf.ru