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

  Рет қаралды 75,893

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

Пікірлер: 59
@muthulakshmim8020
@muthulakshmim8020 Ай бұрын
your starting example of function explanation is great 👏👏.
@arunhhh333
@arunhhh333 Жыл бұрын
def value(a): if(a%2==0): print("Its Even") else: print("Its Odd") value(10)
@AjaySharma-ip2ue
@AjaySharma-ip2ue 6 ай бұрын
It's even
@ummul.nafiha
@ummul.nafiha 3 ай бұрын
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)
@shifanathawullah6967
@shifanathawullah6967 4 ай бұрын
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 Ай бұрын
Bro iam not having computer so how it use python in phone 😢
@abirajjr
@abirajjr 7 ай бұрын
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)
@imupistol
@imupistol 7 ай бұрын
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
@azarudeena6467
@azarudeena6467 Жыл бұрын
def printrange(): a = int(input("enter a")) b = int(input("enter b")) for i in range(a,b): print(i) printrange()
@dharunm1352
@dharunm1352 Ай бұрын
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 Ай бұрын
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 Ай бұрын
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)
@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 Ай бұрын
Error ("enter ur marks ))
@MR.Vampire_21
@MR.Vampire_21 22 күн бұрын
​@@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()
@subashsmiles5447
@subashsmiles5447 4 ай бұрын
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 10 ай бұрын
kzbin.info/www/bejne/pqDSYXWOp96ZnKssi=GLI777OTvRPFk-Gv
@smiley_boy_arjun_08
@smiley_boy_arjun_08 5 ай бұрын
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
@rajivanjr3405
@rajivanjr3405 5 ай бұрын
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()
@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....
@balajirajendiran6412
@balajirajendiran6412 25 күн бұрын
Last task: FIndRange def ranger(a,b): for i in range(a, b): print(i) ranger(int(input()),int(input()))
@carolinebonpapa6782
@carolinebonpapa6782 5 ай бұрын
It is very simple and easy to understand the concept, thank you so much.
@subashsmiles5447
@subashsmiles5447 4 ай бұрын
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)
@ElamparithiElamvazuthi
@ElamparithiElamvazuthi 2 ай бұрын
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
@Abi_2405
@Abi_2405 4 күн бұрын
Bro even or odd nu find pannala paarunga
@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
@jerobin2003
@jerobin2003 Ай бұрын
2) def findevenorodd(): if(n%2==0): print("It is Even") else: print("It is Odd") n=int(input("Enter the Number: ")) findevenorodd()
@thiyagarajan6659
@thiyagarajan6659 9 ай бұрын
clearly understand super bro
@ajedits991
@ajedits991 Жыл бұрын
sir vunngalaa Mari enaku yarumeaaa solitharlaaa sir. Nanum neriyaaaa video pathaaa ethuvumaaa puriyalaaa negatha a superaaaa solikoduthigaaa sir thanks ❤ gethuuu sir negaaa
@user-bm4iv7nf3n
@user-bm4iv7nf3n 5 ай бұрын
def findpassorfail(b): if(b
@rajeswarynadarajan8347
@rajeswarynadarajan8347 6 ай бұрын
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()
@vishnum1057
@vishnum1057 3 ай бұрын
def find(): num=int(input("find:")) a=2 if(num%a==0): print("even") else: print("odd") find()
@subashsmiles5447
@subashsmiles5447 4 ай бұрын
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)
@VihaShini-dg1nx
@VihaShini-dg1nx 11 ай бұрын
Thank you bro intha maarri naraya vedio podunga yenga support yennaikkume erukkum
@yolodinesh
@yolodinesh 7 ай бұрын
def sub(): a=int(input("enter a:")) b=int(input(enter b:")) print(a-b) sub()
@yolodinesh
@yolodinesh 7 ай бұрын
def findpassorfail(a): if(a>=35): print("pass") else: print("fail") n=int(input("enter the mark:")) findpassorfail(n)
@kiranrajD
@kiranrajD 2 ай бұрын
def findevenorodd(num): if(num%2==0): print("even") else: print("odd") findevenorodd(10)
@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 ?
@arunhhh333
@arunhhh333 4 ай бұрын
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 :")))
@Mohamed_Asraf
@Mohamed_Asraf 4 ай бұрын
def passorfail(mark): if(mark>=35): print("pass") else: print("fail") passorfail(34)
@Harley_quinn.GAMERR
@Harley_quinn.GAMERR Жыл бұрын
Anneyyy tanks neyyyy 💓
@pro-star07
@pro-star07 8 ай бұрын
bro well explained and bro can you explain function prototypes
@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()
@S.KamalaKamala
@S.KamalaKamala Ай бұрын
More concepts in python podunga naaa
@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
@devidharshini9960
@devidharshini9960 Жыл бұрын
Bro will u pls upload videos related to class12 matric computer science syllabus
@jeevas4666
@jeevas4666 7 ай бұрын
Brother Data structure and algorithm video podunga
@lavanyad5872
@lavanyad5872 6 ай бұрын
Java course full course podunga Anna
@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
@user-us2pq8gx5c
@user-us2pq8gx5c Жыл бұрын
Javascript solikudunga
@aravaraghava4503
@aravaraghava4503 Жыл бұрын
Bro explain in English
@subashsmiles5447
@subashsmiles5447 4 ай бұрын
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()
@kiranrajD
@kiranrajD 2 ай бұрын
def findevenorodd(k): if(k%2==0): print("even") else: print("odd") a=int(input("enter the number :")) findevenorodd(a)
#15 Return Keyword in Python | Python Tutorial Series | EMC Academy
19:03
Error Makes Clever
Рет қаралды 42 М.
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 19 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 44 МЛН
Real Or Cake For $10,000
00:37
MrBeast
Рет қаралды 59 МЛН
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 464 М.
#32 Python Tutorial for Beginners | Functions in Python
11:13
Telusko
Рет қаралды 1 МЛН
Functions in Python | Introduction | Python for beginners #lec56
24:07
Jenny's Lectures CS IT
Рет қаралды 132 М.
Python Functions | Python Tutorial for Absolute Beginners #1
30:34
Programming with Mosh
Рет қаралды 948 М.
Polymorphism in Python | Python Mastery Ep-48 | code io - Tamil
23:40
code io - Tamil
Рет қаралды 3,2 М.