Arguments in Functions || Functions in python || Part - 2

Publié le: 29 septembre 2021
sur la chaîne: Ddhruv Arora
27
3

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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Arguments in Functions || Functions in python || Part - 2 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Ddhruv Arora 29 septembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 27 fois et il a aimé 3 téléspectateurs. Bon visionnage!