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--kalaash5 ай бұрын
Bro iam not having computer so how it use python in phone 😢
@sivat.ponseenivasan59593 ай бұрын
Bro use to programiz wep in mobile
@nafirabegum4553Ай бұрын
In mobile
@Nigesh-w7d2 ай бұрын
😂i need this type of teacher i will be the topper
@imupistol11 ай бұрын
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
your starting example of function explanation is great 👏👏.
@ErrorMakesClever3 ай бұрын
Glad to hear that
@haristyles64042 ай бұрын
Great Explanation Bro You Deserve
@ErrorMakesClever2 ай бұрын
Thank you
@carolinebonpapa67829 ай бұрын
It is very simple and easy to understand the concept, thank you so much.
@abirajjr10 ай бұрын
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 Жыл бұрын
Def exam () : a = int ( input ( " Enter ur mark )) b = 35 If a < b : Print (" sry you are fail ") else : Print ( " you are pass ") Exam ()
@jieshwargamer774 ай бұрын
Error ("enter ur marks ))
@MR.Vampire_214 ай бұрын
@@jieshwargamer77this in the method . def passorfail(k): if(k
@azarudeena6467 Жыл бұрын
def printrange(): a = int(input("enter a")) b = int(input("enter b")) for i in range(a,b): print(i) printrange()
@VihaShini-dg1nx Жыл бұрын
Thank you bro intha maarri naraya vedio podunga yenga support yennaikkume erukkum
@subashsmiles54478 ай бұрын
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.nafiha6 ай бұрын
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 Жыл бұрын
clearly understand super bro
@ErrorMakesClever3 ай бұрын
Thank you
@ajedits991 Жыл бұрын
sir vunngalaa Mari enaku yarumeaaa solitharlaaa sir. Nanum neriyaaaa video pathaaa ethuvumaaa puriyalaaa negatha a superaaaa solikoduthigaaa sir thanks ❤ gethuuu sir negaaa
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_088 ай бұрын
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
@dharunm13525 ай бұрын
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*
@Kokikumar66785 ай бұрын
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
@Kokikumar66785 ай бұрын
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-d5e4 ай бұрын
Last task: FIndRange def ranger(a,b): for i in range(a, b): print(i) ranger(int(input()),int(input()))
Hi bro I have easily to understand the function. But OOPS concepts, I cannot understand so pls explain in next video bro....
@subashsmiles54478 ай бұрын
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 Жыл бұрын
Anneyyy tanks neyyyy 💓
@ElamparithiElamvazuthi5 ай бұрын
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_24053 ай бұрын
Bro even or odd nu find pannala paarunga
@Zura_.2502 ай бұрын
def findpassorfail(mark): print("mark:",mark) if mark
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()
def findevenorodd(k): if(k%2==0): print("even") else: print("odd") a=int(input("enter the number :")) findevenorodd(a)
@gowthamjai14953 ай бұрын
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
@AndrewIkonic3 ай бұрын
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
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 Жыл бұрын
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
@yolodinesh11 ай бұрын
def findpassorfail(a): if(a>=35): print("pass") else: print("fail") n=int(input("enter the mark:")) findpassorfail(n)
@pro-star0711 ай бұрын
bro well explained and bro can you explain function prototypes
@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 ?
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)
Hello bro question 2 I did not get the even number when input =10 it shows only odd pls clarify meeee
@NiranjanJ-l5u2 ай бұрын
Code send pannuga bro
@arunhhh3338 ай бұрын
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 Жыл бұрын
# 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()
@jeevas466611 ай бұрын
Brother Data structure and algorithm video podunga
@devidharshini9960 Жыл бұрын
Bro will u pls upload videos related to class12 matric computer science syllabus
@S.KamalaKamala5 ай бұрын
More concepts in python podunga naaa
@lavanyad587210 ай бұрын
Java course full course podunga Anna
@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 Жыл бұрын
Yess
@Jacksparrow-pl8of Жыл бұрын
How can I decompile a compiled .pyc file into a .py file? any one tell me
@vimalv.v5648 Жыл бұрын
Like pycharm IDE
@MaryElizabethSundaraj Жыл бұрын
Javascript solikudunga
@aravaraghava4503 Жыл бұрын
Bro explain in English
@subashsmiles54478 ай бұрын
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()
@jerobin20035 ай бұрын
2) def findevenorodd(): if(n%2==0): print("It is Even") else: print("It is Odd") n=int(input("Enter the Number: ")) findevenorodd()
@sparrowlover17812 ай бұрын
def printrange(a,b): for i in range(a,b): print(i) printrange( a=int(input("a: ")), b=int(input("b: ")) )