Nested Function Calls In Python Are Easy!🐍

preview_player
Показать описание
PLEASE LIKE AND SUBSCRIBE ITS FREE!

#beginners #tutorial #python

Check out my other videos to learn more computer science & programming concepts please :)

Code used in the video will be pinned in the comments!

Socials and other platforms:
Рекомендации по теме
Комментарии
Автор

# nested function calls = function calls inside other function calls

# innermost function will be executed first
# returned value is what will be used for the next outer function

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


# same function but with the nested function calls format:
print(round(abs(input("Enter a positive number: "))))

YousefCompSci
Автор

bro, you're like bro code, but it's clearer, thank you because I don't really understand this material, keep going

pincokraja
welcome to shbcf.ru