In this video, I have discussed giving arguments to user-defined functions in python.
Why do we need to give args to functions?
We can give args to function so that it appears more dynamic, can be updated on the fly, reducing embedding of data and hard-coding of things
A simple example of a function:
def greet(user_name):
print("Hello")
print("How are you ", user_name, " ?")
greet("Ddhruv") #calling the function
Try to add all the things that we have done till date in a single function
Thank you for watching and reading.
#python #pythonprogramming #coding #learning #teaching #youtuber #pythonfrombasics.
На этой странице сайта вы можете посмотреть видео онлайн Arguments in Functions || Functions in python || Part - 2 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Ddhruv Arora 29 Сентябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 27 раз и оно понравилось 3 зрителям. Приятного просмотра!