#15 Return Keyword in Python | Python Tutorial Series | EMC Academy
ฝัง
- เผยแพร่เมื่อ 16 ก.ย. 2024
- In this enlightening TH-cam video, join us on a journey to unravel the power of functions in Python. Whether you're a programming novice or looking to enhance your skills, this comprehensive guide has got you covered!
Our expert instructor will walk you through the fundamental concepts of functions, demystifying their purpose and showcasing their incredible versatility. Starting from the basics, you'll learn how to define and call functions, explore the different types of function arguments, and understand the importance of return values.
Dive deeper as we delve into advanced topics, such as function parameters, default values, and variable scope. You'll gain a solid understanding of how functions can be used to improve code readability, promote reusability, and enhance overall program structure.
Witness real-world examples and practical demonstrations that illustrate the practical applications of functions. Discover how to create custom functions tailored to your specific needs and learn valuable techniques for organizing your code into modular and manageable pieces.
With clear explanations and a step-by-step approach, this tutorial ensures that you'll grasp the intricacies of functions effortlessly. Enhance your Python programming prowess and unleash the full potential of functions to build robust and efficient programs.
Don't miss this opportunity to become a master of Python functions. Watch the video now and take your coding skills to new heights!
Tags: Python functions, Python programming, Python tutorials, Python for beginners, Programming concepts, Code organization, Function arguments, Variable scope, Return values
bro telegram link podunga
t.me/+C6_1tXtmYQs5MTVl Join this Telegram link to solve your doubts.
Bro neenga dheivam bro🙏🏼🙏🏼🙏🏼😭😭neenga unga kozhandha kuttiyoda nalla irukkanumi watched 5 videos for return statement but u made me understand in first 5 mins
😂😂😂😂😂
def add():
return (a+b)*c
a=int(input("Enter Number 1:"))
b=int(input("Enter Number 2:"))
c=int(input("Enter Number 3:"))
d=add()
print("Your Result:",d)
This one is very easy
a=int(input("a:"))
b=int(input("b:"))
c=int(input("c:"))
def add():
return(a+b)
sum=add()
Print(sum*c)
👏
U r best teacher and thankyou bro
Thanks and welcome
a=int(input())
b=int(input())
c=int(input())
def add():
return a+b
e=add()
output=e*c
print(output)
a=int(input())
b=int(input())
c=int(input())
def add(y):
return a+b
k=(a+b)*c
add(k)
print(k)
what is the difference between print and return
"Print" shows the output whereas "return" returns a value or values whenever the function is called.
Print function output direct ah display pannum
Return function antha value vah return pannum atha oru variable ah store panni output print pannanum
a-int (input("Enter the value of a:"))
b-int (input("Enter the value of b:"))
def add():
return (a+b)
print (add())
c-int(input("Enter the value of c"))
mul-add() *c
print (mul)
bro kindly post video daily. I'm following your videos
hi bro sql paathi konjam videos pooduinga
Yes bro I'm also need
S bro
Well explained anna
Wait for your next videos.. Thanks for being simple ❤️❤️❤️
Thank u so much
Thanks a lot… A good one😊
Happy learning!! 😊
a=int(input("Enter value a:"))
b=int(input("Enter value b:"))
c=int(input("Enter value c:"))
d=(a+b)
def add():
return(d)
g=add()
print("sum of a and b:",g)
h=g*c
print("the value of c after multiplying with sum of a and b:",h)
def add():
a = int(input("enter a:"))
b = int(input("enter b:"))
added = a+b
print(f"sum of {a} and {b} is {added}")
c = int(input("enter c:"))
mul = added*c
print("multiply:",mul)
add()
But read the question
Shoud be use "return"😅
Tnx brow
a="EMC"
b="123"
k=(a,b)
c=str(input("UNAME:"))
e=str(input("PASSWORD:"))
f=(c,e)
def validate(m1,m2):
if (f==k):
return true
else:
return false
validate(a,b)
Kindly post videos daily
bro n1 and n2 va epudi a and b nu identify pannuchu...
Bro.. yesterday launch pana video laa coding try panan..but online complier la output not displayed.. it doesn't work..what can I do bro..give a solution pls???
bro antha word document send pannu bro, please
Anna python projects seinga anna plsssss
#if user name and password is correct, the fuction will return true, else it will return false.
s_user="emc" #static value
s_passwd="1234" #static value
u_user=input("Enter the user name : ")
u_passwd=input("Enter the password : ")
def validate(a,b,c,d):
if(c==a and d==b):
return True
else:
return False
ans=validate(s_user,s_passwd,u_user,u_passwd)
print(ans)
Bro onlinela bca course pannamudiyuma
Vroo video upload pannunga kindly request plz
Error varuthu bro 😮
which sum bro?
5th one is wrong
enna wrong bro?
Try this
a=int(input())
b=int(input())
c=int(input())
def add():
return a+b
e=add()
output=e*c
print(output)
a=int(input("Enter value for a"))
b=int(input("Enter value for b"))
c=int(input("Enter value for c"))
def add():
return (a+b)*c
add()