Python functions 📞

preview_player
Показать описание
Python functions tutorial explained

#Python #functions #tutorial

#function = a block of code which is executed only when it is called.

def hello(first_name,last_name,age):
print("hello "+first_name+" "+last_name)
print("You are "+str(age)+" years old")
print("Have a nice day!")

hello("Bro","Code",21)

––––––––––––––––––––––––––––––
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
––––––––––––––––––––––––––––––
Рекомендации по теме
Комментарии
Автор

# function = a block of code which is executed only when it is called.

def hello(first_name, last_name, age):
print("hello "+first_name+" "+last_name)
print("You are "+str(age)+" years old")
print("Have a nice day!")

hello("Bro", "Code", 21)

BroCodez
Автор

I love how straight forward these videos are.

marshallwages
Автор

I'm enjoying adding in previous lessons to the new ones after learning to them. It makes me really appreciate the order you went in.

johnmcclure
Автор

I just keep learning and understanding with your help. Your guides are so clear. Thank you!

janicesturmey
Автор

Superb job on this video my dude, and thank you so much!!

Not only do you break down things very well in layman's terms, but you go in depth to the point of answering virtually every question i had that prevented me from fully understanding functions!

I was stuck on learning the basic concepts of functions for like 5 days in a row until i watched this

bobjones
Автор

commenting for support! Thank you Bro for keeping it short, simple and for showing us more than we will ever get, even from the paid courses

jhassee
Автор

Hello Bro, I really like the way you are explaining the code. Not only dry summary and showing how it should be done properly but repeating over and over why something won't work and why. Thank you, Bro. It's a pleasure to lern with this tutorials.

KIVIDiana
Автор

me : hello function?
function: hello there what u want?
me: i called u so run something!?

hamzaammar
Автор

Man you are so freaking based. Thanks a bunch man, you really helped me here.

hashirmaxwell
Автор

dude you're an actual legend. the gods will speak of your name for years to come

Hola-jpyh
Автор

love the video really helped me a lot i am going to pass the test now

lonewolfgaming
Автор

All jokes aside protect this legendary man at all costs

hamzakandil
Автор

i love your channel
its the best for learning programming language

zakirhamud
Автор

never thought i can learn python just by sitting back relaxing

greeshmitadasari
Автор

thanks for this lesson. As you explain it is so incredible and easy for beginners.

marcos
Автор

It been two year for the video was posted. I need to thank you so much for what you doing

abdulhadibarodi
Автор

where are you from ? you are absolutely amazed

dienhuynh
Автор

🎶The ending music sounds like something one would hear on 🎮Sonic the hedgehog.

MindBodyStorm
Автор

easy to understand..Thank you Bro Code

coriesalen
Автор

hey bro I just saw the first 2 minutes and I made this:

def realName():
name = input("Oh I'm sorry, so what's your name? ")
print("Oh I'm sorry "+ name, ", I'll try to get better")
#Here we will guess his name
guessName = input("Hey is ur name bot? ")
if guessName == "no":
realName()

bro I'm too happy tysm for this masterpiece ur the real coding goat ngl

Gustqv