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

  Рет қаралды 95,626

Error Makes Clever

Error Makes Clever

Күн бұрын

Пікірлер: 79
@shifanathawullah6967
@shifanathawullah6967 8 ай бұрын
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 5 ай бұрын
Bro iam not having computer so how it use python in phone 😢
@sivat.ponseenivasan5959
@sivat.ponseenivasan5959 3 ай бұрын
​Bro use to programiz wep in mobile
@nafirabegum4553
@nafirabegum4553 Ай бұрын
In mobile
@Nigesh-w7d
@Nigesh-w7d 2 ай бұрын
😂i need this type of teacher i will be the topper
@imupistol
@imupistol 11 ай бұрын
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
@arunhhh333
@arunhhh333 Жыл бұрын
def value(a): if(a%2==0): print("Its Even") else: print("Its Odd") value(10)
@AjaySharma-ip2ue
@AjaySharma-ip2ue 10 ай бұрын
It's even
@muthulakshmim8020
@muthulakshmim8020 5 ай бұрын
your starting example of function explanation is great 👏👏.
@ErrorMakesClever
@ErrorMakesClever 3 ай бұрын
Glad to hear that
@haristyles6404
@haristyles6404 2 ай бұрын
Great Explanation Bro You Deserve
@ErrorMakesClever
@ErrorMakesClever 2 ай бұрын
Thank you
@carolinebonpapa6782
@carolinebonpapa6782 9 ай бұрын
It is very simple and easy to understand the concept, thank you so much.
@abirajjr
@abirajjr 10 ай бұрын
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)
@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 4 ай бұрын
Error ("enter ur marks ))
@MR.Vampire_21
@MR.Vampire_21 4 ай бұрын
​@@jieshwargamer77this in the method . def passorfail(k): if(k
@azarudeena6467
@azarudeena6467 Жыл бұрын
def printrange(): a = int(input("enter a")) b = int(input("enter b")) for i in range(a,b): print(i) printrange()
@VihaShini-dg1nx
@VihaShini-dg1nx Жыл бұрын
Thank you bro intha maarri naraya vedio podunga yenga support yennaikkume erukkum
@subashsmiles5447
@subashsmiles5447 8 ай бұрын
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)
@ummul.nafiha
@ummul.nafiha 6 ай бұрын
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)
@thiyagarajan6659
@thiyagarajan6659 Жыл бұрын
clearly understand super bro
@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
@samayalpalagalam7096
@samayalpalagalam7096 Жыл бұрын
Javascript video podunga bro
@aswinithamizhselvan9108
@aswinithamizhselvan9108 Жыл бұрын
kzbin.info/www/bejne/pqDSYXWOp96ZnKssi=GLI777OTvRPFk-Gv
@Karthik-fn2io
@Karthik-fn2io 3 ай бұрын
num=int(input("enter a number")) def evenorodd(): if(num%2==0): print(num,"is even") else: print(num,"is odd") evenorodd()
@kirankumar7325
@kirankumar7325 Ай бұрын
Q2 Answer a=int(input("number=")) def number(): if (a%2==0): print("it's even") else: print("it's odd") number()
@kannandb7473
@kannandb7473 Ай бұрын
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)
@smiley_boy_arjun_08
@smiley_boy_arjun_08 8 ай бұрын
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
@dharunm1352
@dharunm1352 5 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
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)
@Aarbee-d5e
@Aarbee-d5e 4 ай бұрын
Last task: FIndRange def ranger(a,b): for i in range(a, b): print(i) ranger(int(input()),int(input()))
@Mohamed_Asraf
@Mohamed_Asraf 8 ай бұрын
def passorfail(mark): if(mark>=35): print("pass") else: print("fail") passorfail(34)
@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....
@subashsmiles5447
@subashsmiles5447 8 ай бұрын
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)
@Harley_quinn.GAMERR
@Harley_quinn.GAMERR Жыл бұрын
Anneyyy tanks neyyyy 💓
@ElamparithiElamvazuthi
@ElamparithiElamvazuthi 5 ай бұрын
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 3 ай бұрын
Bro even or odd nu find pannala paarunga
@Zura_.250
@Zura_.250 2 ай бұрын
def findpassorfail(mark): print("mark:",mark) if mark
@Sd_techz
@Sd_techz Ай бұрын
def findevenorodd(operation): a=int(input()) If(a%2==0): Print("even") else: Print("odd") Findevenorodd(10)
@rajivanjr3405
@rajivanjr3405 9 ай бұрын
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 11 ай бұрын
def sub(): a=int(input("enter a:")) b=int(input(enter b:")) print(a-b) sub()
@ganesamoorthy3
@ganesamoorthy3 13 күн бұрын
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
@rajeswarynadarajan8347
@rajeswarynadarajan8347 9 ай бұрын
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()
@kiranrajD
@kiranrajD 6 ай бұрын
def findevenorodd(k): if(k%2==0): print("even") else: print("odd") a=int(input("enter the number :")) findevenorodd(a)
@gowthamjai1495
@gowthamjai1495 3 ай бұрын
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
@AndrewIkonic
@AndrewIkonic 3 ай бұрын
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
@AkashS-k5c
@AkashS-k5c 9 ай бұрын
def findpassorfail(b): if(b
@vishnum1057
@vishnum1057 6 ай бұрын
def find(): num=int(input("find:")) a=2 if(num%a==0): print("even") else: print("odd") find()
@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
@yolodinesh
@yolodinesh 11 ай бұрын
def findpassorfail(a): if(a>=35): print("pass") else: print("fail") n=int(input("enter the mark:")) findpassorfail(n)
@pro-star07
@pro-star07 11 ай бұрын
bro well explained and bro can you explain function prototypes
@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 ?
@kiranrajD
@kiranrajD 6 ай бұрын
def findevenorodd(num): if(num%2==0): print("even") else: print("odd") findevenorodd(10)
@subashsmiles5447
@subashsmiles5447 8 ай бұрын
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 3 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
Code send pannuga bro
@arunhhh333
@arunhhh333 8 ай бұрын
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 :")))
@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()
@jeevas4666
@jeevas4666 11 ай бұрын
Brother Data structure and algorithm video podunga
@devidharshini9960
@devidharshini9960 Жыл бұрын
Bro will u pls upload videos related to class12 matric computer science syllabus
@S.KamalaKamala
@S.KamalaKamala 5 ай бұрын
More concepts in python podunga naaa
@lavanyad5872
@lavanyad5872 10 ай бұрын
Java course full course podunga Anna
@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 8 ай бұрын
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 5 ай бұрын
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 2 ай бұрын
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
Рет қаралды 54 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 610 М.
Functions in Python | Introduction | Python for beginners #lec56
24:07
Jenny's Lectures CS IT
Рет қаралды 159 М.
Python Functions (The Only Guide You'll Need) #12
16:57
Programiz
Рет қаралды 615 М.
#32 Python Tutorial for Beginners | Functions in Python
11:13
Telusko
Рет қаралды 1 МЛН
DAY 09 | COMPUTER SCIENCE | CBSE XII | WORKING WITH FUNCTIONS
25:44
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН