Beginner Python Tutorial 98 - Functions Calling Functions

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Amazing help! I was struggling to understand functions. Thanks man!

FindingMoreInLess
Автор

I found it super useful. I also thought on making it more flexible for the boolean parameter (first_time) so I made a variant using dictionary which worked fine. Thank you so much for this short and sweet video.

def greet(person, first_time=False):
if first_time:
return "First time for everything, right? Welcome, " + person
return "Hello, " + person

def greet_all(people):
for (k, v) in people.items():
print(greet(k, v))

friends = {"Bob" : True, "Josh" : False, "Austin" : True }

greet_all(friends)

HappyAnimalsD
Автор

thank you for your classes. they really help. old guy trying to learn code. lol ty

chrq
Автор

thanks (but the fact you added 2 argumnets in the first function made it way harder to understand)

maybenew
Автор

Thanks, very helpful video. I take it in the current day you'd utilise f strings rather than concatenation like that? Also, never knew about passing the Boolean arguments either, so thats useful to!

tomkmb
Автор

how can you say that this is for beginner

bhaveshmahavar
Автор

I got here cuz when I called the function it said it was undeclared... It turned to be that I had a typo, the name of the function wasn't written correctly 🤦‍♂

ALXER-sbvi
Автор

hey bro what if funtion return a iterate list and I want to aply some another functionality using another function then how to do it

akshaynaik
welcome to shbcf.ru