#14 Functions in python with Example -1| Python Tutorial Series | in Tamil | EMC Academy

  Рет қаралды 101,302

Error Makes Clever

Error Makes Clever

Күн бұрын

In this enlightening KZbin 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

Пікірлер: 79
@Nigesh-w7d
@Nigesh-w7d 4 ай бұрын
😂i need this type of teacher i will be the topper
@arunhhh333
@arunhhh333 Жыл бұрын
def value(a): if(a%2==0): print("Its Even") else: print("Its Odd") value(10)
@AjaySharma-ip2ue
@AjaySharma-ip2ue 11 ай бұрын
It's even
@shifanathawullah6967
@shifanathawullah6967 10 ай бұрын
def evenodd(b): if b%2==0: print("Even") else: print("odd") a=int(input("Enter a Number: ")) evenodd(a) It is working fine. Your teaching method was good. Thank you so much for your learning vedios.
@AK--kalaash
@AK--kalaash 6 ай бұрын
Bro iam not having computer so how it use python in phone 😢
@sivat.ponseenivasan5959
@sivat.ponseenivasan5959 4 ай бұрын
​Bro use to programiz wep in mobile
@nafirabegum4553
@nafirabegum4553 3 ай бұрын
In mobile
@muthulakshmim8020
@muthulakshmim8020 6 ай бұрын
your starting example of function explanation is great 👏👏.
@ErrorMakesClever
@ErrorMakesClever 4 ай бұрын
Glad to hear that
@imupistol
@imupistol Жыл бұрын
Hey thank so much for clear explanation. :) im just a beginner. Had a code for 1300+ lines and was very confused here and there to check each lines without knowing/understanding "def" function. Now i have reduced my code to less than 300 :P. Thank You once again
@carolinebonpapa6782
@carolinebonpapa6782 10 ай бұрын
It is very simple and easy to understand the concept, thank you so much.
@abirajjr
@abirajjr Жыл бұрын
def passorfail(b): if(b>=35): print("Pass") else: print("Faill") a=int(input("Enter your marks ? ")) passorfail(a) def findevenorodd (b): if(b%2==0): print("Even") else: print("odd") findevenorodd(a)
@azarudeena6467
@azarudeena6467 Жыл бұрын
def printrange(): a = int(input("enter a")) b = int(input("enter b")) for i in range(a,b): print(i) printrange()
@haristyles6404
@haristyles6404 3 ай бұрын
Great Explanation Bro You Deserve
@ErrorMakesClever
@ErrorMakesClever 3 ай бұрын
Thank you
@ajedits991
@ajedits991 Жыл бұрын
sir vunngalaa Mari enaku yarumeaaa solitharlaaa sir. Nanum neriyaaaa video pathaaa ethuvumaaa puriyalaaa negatha a superaaaa solikoduthigaaa sir thanks ❤ gethuuu sir negaaa
@VihaShini-dg1nx
@VihaShini-dg1nx Жыл бұрын
Thank you bro intha maarri naraya vedio podunga yenga support yennaikkume erukkum
@subashsmiles5447
@subashsmiles5447 9 ай бұрын
def printrange(r1,r2): for i in range(r1,r2): print(i) a=int(input("Enter a number: ")) b=int(input("Enter a number: ")) printrange(a,b)
@samayalpalagalam7096
@samayalpalagalam7096 Жыл бұрын
Javascript video podunga bro
@aswinithamizhselvan9108
@aswinithamizhselvan9108 Жыл бұрын
kzbin.info/www/bejne/pqDSYXWOp96ZnKssi=GLI777OTvRPFk-Gv
@dharunm1352
@dharunm1352 6 ай бұрын
def PassorFail(a): if(a>=35): if(a%2 == 0): print(a,"is pass and it is even") else: print(a,"is fail and it s Odd') a = float(input()) passorFail(a) *Bro, we want more videos about HTML*
@Kokikumar6678
@Kokikumar6678 6 ай бұрын
In ur given code even if I got the pass mark but if the number is odd then if statement is wrong and it will print the else so the logic is missing
@Kokikumar6678
@Kokikumar6678 6 ай бұрын
def PassorFail(a): a = float(a) if a >= 35: if a % 2 == 0: print(f"{int(a)} is pass and it is even") else: print(f"{int(a)} is pass and it is odd") else: print(f"{a:.2f} is fail") # Taking input from the user grade = input("Enter the grade: ") PassorFail(grade)
@thiyagarajan6659
@thiyagarajan6659 Жыл бұрын
clearly understand super bro
@ErrorMakesClever
@ErrorMakesClever 4 ай бұрын
Thank you
@YOUNG_FARMER_03
@YOUNG_FARMER_03 Жыл бұрын
Hi bro I have easily to understand the function. But OOPS concepts, I cannot understand so pls explain in next video bro....
@im_sanjayy
@im_sanjayy Жыл бұрын
Def exam () : a = int ( input ( " Enter ur mark )) b = 35 If a < b : Print (" sry you are fail ") else : Print ( " you are pass ") Exam ()
@jieshwargamer77
@jieshwargamer77 6 ай бұрын
Error ("enter ur marks ))
@MR.Vampire_21
@MR.Vampire_21 5 ай бұрын
​@@jieshwargamer77this in the method . def passorfail(k): if(k
@Karthik-fn2io
@Karthik-fn2io 5 ай бұрын
num=int(input("enter a number")) def evenorodd(): if(num%2==0): print(num,"is even") else: print(num,"is odd") evenorodd()
@kirankumar7325
@kirankumar7325 2 ай бұрын
Q2 Answer a=int(input("number=")) def number(): if (a%2==0): print("it's even") else: print("it's odd") number()
@ganesamoorthy3
@ganesamoorthy3 Ай бұрын
Q.3 def findpassorfail(b): If(b>=35 and b%2==0): Print("even") else: Print("odd") a=int(input("enter mark")) findpassorfail(a) Correct ah brother
@kannandb7473
@kannandb7473 2 ай бұрын
get an integer number from user and pass it to the function called passorfail solution: def passorfail(b): if(b>35): print("pass") else: print("fail") a=int(input("enter your marks:")) passorfail(a)
@Aarbee-d5e
@Aarbee-d5e 6 ай бұрын
Last task: FIndRange def ranger(a,b): for i in range(a, b): print(i) ranger(int(input()),int(input()))
@Sd_techz
@Sd_techz 2 ай бұрын
def findevenorodd(operation): a=int(input()) If(a%2==0): Print("even") else: Print("odd") Findevenorodd(10)
@pro-star07
@pro-star07 Жыл бұрын
bro well explained and bro can you explain function prototypes
@smiley_boy_arjun_08
@smiley_boy_arjun_08 10 ай бұрын
Q3 def arjun(a): if(a>35): print ("pass ") else: print ("fail") b=int (input ("enter the mark:")) arjun(b) Output enter the mark:90 Pass
@ummul.nafiha
@ummul.nafiha 8 ай бұрын
def printrange(m): for i in range(j,s+1): print(i) j=int(input("a:")) s=int(input("b:")) u=(j,s) printrange(u)
@Mohamed_Asraf
@Mohamed_Asraf 10 ай бұрын
def passorfail(mark): if(mark>=35): print("pass") else: print("fail") passorfail(34)
@Harley_quinn.GAMERR
@Harley_quinn.GAMERR Жыл бұрын
Anneyyy tanks neyyyy 💓
@yolodinesh
@yolodinesh Жыл бұрын
def sub(): a=int(input("enter a:")) b=int(input(enter b:")) print(a-b) sub()
@rajivanjr3405
@rajivanjr3405 10 ай бұрын
tested code for even or odd def even_odd(): num=int(input("enter a:")) if (num%2==0): #if even div by 2 print("number is even") else: print("number is odd") even_odd()
@yolodinesh
@yolodinesh Жыл бұрын
def findpassorfail(a): if(a>=35): print("pass") else: print("fail") n=int(input("enter the mark:")) findpassorfail(n)
@subashsmiles5447
@subashsmiles5447 9 ай бұрын
def findpassorfail(user): user=int(input("Check whether pass or fail : ")) if user>=35: print("You have passed") else: print("You have failed") findpassorfail(user)
@vishnum1057
@vishnum1057 8 ай бұрын
def find(): num=int(input("find:")) a=2 if(num%a==0): print("even") else: print("odd") find()
@S.KamalaKamala
@S.KamalaKamala 6 ай бұрын
More concepts in python podunga naaa
@ElamparithiElamvazuthi
@ElamparithiElamvazuthi 7 ай бұрын
mark=int(input("Enter your mark:")) def findpassorfail(mark): if(mark>=35): print("Pass") else: print("Fail") findpassorfail(mark) Output: Enter your mark:40 Pass
@Zura_.250
@Zura_.250 4 ай бұрын
def findpassorfail(mark): print("mark:",mark) if mark
@kiranrajD
@kiranrajD 7 ай бұрын
def findevenorodd(k): if(k%2==0): print("even") else: print("odd") a=int(input("enter the number :")) findevenorodd(a)
@jeevas4666
@jeevas4666 Жыл бұрын
Brother Data structure and algorithm video podunga
@AkashS-k5c
@AkashS-k5c 11 ай бұрын
def findpassorfail(b): if(b
@gowthamjai1495
@gowthamjai1495 5 ай бұрын
def printrange(a,b): for i in range(a,b): print(i,end=" ") a=int(input("Enter starting range")) b=int(input("Enter ending range")) printrange(a,b) ithu crct thana bro
@rajeswarynadarajan8347
@rajeswarynadarajan8347 11 ай бұрын
def add(): a=int(input("Enter a:")) b=int(input("Enter b:")) print("Total :",a+b) def sub(): a=int(input("Enter a:")) b=int(input("Enter b:")) print("After deduction :",a - b) def mul(): a=int(input("Enter a:")) b=int(input("Enter b:")) print("Product_Value :",a * b) def div(): a=int(input("Enter a:")) b=int(input("Enter b:")) print(("Divide :",a/b)) add() sub() mul() div()
@1994ramkumar
@1994ramkumar Жыл бұрын
Bro check if it is Right.If user is given input. def findpassorfail() Mark=int(input("Enter the mark")) If Mark>=35 : Print("You are pass") else: Print("Fail ") findpassorfail()
@thamodharanm1078
@thamodharanm1078 Жыл бұрын
Bro All are case sensitive, hence you should use small letter for if, print. def findpassorfail(): mark = int(input("enter your mark: ")) if mark >= 75: print("you are pass") else: print("Fail") the above one is proper code
@kiranrajD
@kiranrajD 7 ай бұрын
def findevenorodd(num): if(num%2==0): print("even") else: print("odd") findevenorodd(10)
@AndrewIkonic
@AndrewIkonic 4 ай бұрын
def findevenorodd(): a=int(input("Enter a:")) if(a%2==0): print("Even") else: print("Odd") findevenorodd() Bro I tried this and it came well i need to know why we need to type b%2==0 , and why we need to add b in the def function(b) at the start and in end we are calling a in the def function(a) instead we can easily call a and get the output can you please explain or anyone seeing this explain?? 22:30
@subashsmiles5447
@subashsmiles5447 9 ай бұрын
def findevenorodd(user): user=int(input("Check whether the number is even or odd : ")) if user%2==0: print("It is even") else: print("It is odd") findevenorodd(user)
@NiranjanJ-l5u
@NiranjanJ-l5u 4 ай бұрын
def findevenorodd(g): if(g%2==0): print("even") else: print("odd") if(g>=35): print("pass") else: print("fail") a=100 findevenorodd(a)
@Vicky_vicky04-w4z
@Vicky_vicky04-w4z 4 ай бұрын
Hello bro question 2 I did not get the even number when input =10 it shows only odd pls clarify meeee
@NiranjanJ-l5u
@NiranjanJ-l5u 4 ай бұрын
Code send pannuga bro
@arunhhh333
@arunhhh333 9 ай бұрын
def findevenorodd(num): if(num%2==0): print(f"The Entered number {num} is even") else: print(f"The Entered number {num} is odd") findevenorodd(int(input("Enter the number to find its even or odd :")))
@lavanyad5872
@lavanyad5872 Жыл бұрын
Java course full course podunga Anna
@azarudeena6467
@azarudeena6467 Жыл бұрын
# create a fn pass or fail if mark > than 35 pass or else fail def passorfail(): mark = float(input("enter mark:")) if mark >= 35: print("pass") else: print("fail") passorfail()
@devidharshini9960
@devidharshini9960 Жыл бұрын
Bro will u pls upload videos related to class12 matric computer science syllabus
@lalithasgardening8314
@lalithasgardening8314 Жыл бұрын
Bro for i in range (r1,r2+1 ) Poda thevailaya because a to b full ah print pana solirukaga apo 21 to 31 um varnumla ?
@newton235
@newton235 22 күн бұрын
Eduku. Namba function use pandrom nu sollu ga pls
@leadalifefullofbliss
@leadalifefullofbliss Жыл бұрын
Program type panni run kudutha oru time mattum dhan work aaguma? Second time Vera Input kudukanumna marupadiyum run pannanuma? Can anyone tell pls?
@ErrorMakesClever
@ErrorMakesClever Жыл бұрын
Yess
@Jacksparrow-pl8of
@Jacksparrow-pl8of Жыл бұрын
How can I decompile a compiled .pyc file into a .py file? any one tell me
@vimalv.v5648
@vimalv.v5648 Жыл бұрын
Like pycharm IDE
@MaryElizabethSundaraj
@MaryElizabethSundaraj Жыл бұрын
Javascript solikudunga
@aravaraghava4503
@aravaraghava4503 Жыл бұрын
Bro explain in English
@subashsmiles5447
@subashsmiles5447 9 ай бұрын
def add(): a=int(input("Enter the number : ")) b=int(input("Enter the number : ")) print("Add:", a+b) add() def sub(): a=int(input("Enter the number : ")) b=int(input("Enter the number : ")) print("Sub:", a-b) sub() def mul(): a=int(input("Enter the number : ")) b=int(input("Enter the number : ")) print("Mul:", a*b) mul() def div(): a=int(input("Enter the number : ")) b=int(input("Enter the number : ")) print("Div:", a/b) div()
@jerobin2003
@jerobin2003 6 ай бұрын
2) def findevenorodd(): if(n%2==0): print("It is Even") else: print("It is Odd") n=int(input("Enter the Number: ")) findevenorodd()
@sparrowlover1781
@sparrowlover1781 4 ай бұрын
def printrange(a,b): for i in range(a,b): print(i) printrange( a=int(input("a: ")), b=int(input("b: ")) )
#15 Return Keyword in Python | Python Tutorial Series | EMC Academy
19:03
Error Makes Clever
Рет қаралды 57 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Python Functions (The Only Guide You'll Need) #12
16:57
Programiz
Рет қаралды 628 М.
Python for Beginners | Ep -14 | Functions in Python | Tamil | code io
13:44
#32 Python Tutorial for Beginners | Functions in Python
11:13
Telusko
Рет қаралды 1 МЛН