Python nested function calls 🖇️

preview_player
Показать описание
Python nested function calls

#python #nested #functions

# -------------------------------------------------------------------------------------
# nested functions calls = function calls inside other function calls
# innermost function calls are resolved first
# returned value is used as argument for the next outer function

# num = input("Enter a whole positive number: ")
# num = float(num)
# num = abs(num)
# num = round(num)
# print(num)

print(round(abs(float(input(" ")))))
# -------------------------------------------------------------------------------------

Bro Code merch store 👟 :
===========================================================
===========================================================
Рекомендации по теме
Комментарии
Автор

# nested functions calls = function calls inside other function calls
# innermost function calls are resolved first
# returned value is used as argument for the next outer function

# num = input("Enter a whole positive number: ")
# num = float(num)
# num = abs(num)
# num = round(num)
# print(num)

a whole positive number:

BroCodez
Автор

Was searching for examples on nested function call. And your explanation was spot on !!! and clear.
Keep up the good work, Subscribed.

ronlee
Автор

Omg! You are truly awesome! Thank you soooo much for that video!

Freyaris
Автор

Are these nested functions considered to be a good code?
I'm not sure if it's easier or harder for others to read or for my futureself.

marquisdehoto
Автор

Good video's thanks. I have a question How did you manage to add a # in front of the commands when you selected a few lines?

jslegers
Автор

Great video as usual. If I may ask, why is that the result that is being showed to me is 3.0 instead of 3?

arcnelnel