Python Beginner Tutorial #10 - Return from Functions!

preview_player
Показать описание
Python is one of the most popular programming languages worldwide.
You can write scripts, create apps, websites and games with Python. It's especially suitable for programming beginners

In part 10 of Python tutorial for beginners, we look at how to return values from functions in python.
We show that we can use the result (return value) of a function later for further calculations.

Functions make programming much easier, so it's good to know how they work.

Like and Subscribe for more Python for beginners tutorials!

❤️ You want to support this channel? ❤️

Python For Beginners Playlist:

Music:
Licensed under Creative Commons: By Attribution 3.0 License

#python #pythontutorial #learnpython #functions #return #parameter
Рекомендации по теме
Комментарии
Автор

An important note for the last example:
input() actually gives us the numbers as strings, so we get the strings "5" and "8" (not the numbers 5 and 8)
In this case, Python uses "x > y" to compare both parameters lexicographically (alphabetical order)
it should be much better to convert the input to a number (integer), by using int(input())!
I want to show this in one of the upcoming python tutorials

zippycode
Автор

Thx bro i just spend 1 hour of search and i find this video, now finally i can use them

mrshookyzuus
Автор

Thanks zippy i learn a lot from your channel, you're amazing!❤️

AlagadniSimplelife
Автор

You are doing good job thank you zippy :)

yaqubixon
Автор

Never knew I could do this with functions! Nice Job.

bilyy
Автор

I really need your help, you seem like a great teacher could you maybe teach me

joaoreis
Автор

Good bro keep it up, And Bro, Is it necessary to learn these things I mean These Maths Calcultion s To learn To make games and apps Further ?

ilmashaikh
Автор

How can i create an Assets folder i dont get it

felixbrawlstars
Автор

I have a question how can i make it, that the player doesnt walk out of the screen?

felixbrawlstars
Автор

So what the return function basically does is just giving me a variable. Is that correct?

misterbombastic
Автор

yo zippy, need some help here. when I type this code in pycharm, nothing happens. the code:
def add(x, y):
print(x + y)
add(4, 3)

pieketimp