print("enter two nos to calculate hcf") a=int(input("enter first no. ")) b=int(input("enter second no. ")) if(a>b): while a %b != 0: rem=a%b a=b b=rem print(" HCF is ",b) else: while b%a !=0: rem=b%a b=a a =rem print(" HCF is",a)
@gaurigoel30683 жыл бұрын
Nice explanation
@supriyomondol3 жыл бұрын
What if I enter first number smaller than second number .. I believe we should first check smaller number and then run the while loop.
@abhinavkesarwani68103 жыл бұрын
Really mam you are teaching awesome
@ritam43824 жыл бұрын
But this program is "wrong" when we take two numbers whose HCF is 1, like HCF of 6 and 7 and etc etc..
@H28-u3u3 жыл бұрын
same problem bro..
@AECcomputers2 жыл бұрын
It will work for 6 and 7 and give 1 as hcf
@SagarPawar-nq9pr3 жыл бұрын
Mam really you are superb... 💕💕👍🏻👍🏻 The way you like teach us is very interesting... 👍🏻👍🏻
@vishalmishra98855 жыл бұрын
Thanks so much for this video.... Mam... 👍👍
@nehakhanzode85695 жыл бұрын
You made difficult path easier. Thank you so much @Anjali Luthra mam!
@mdafroj8546 Жыл бұрын
Thank you mam 😎😍💝😍
@deadiusgaming48335 жыл бұрын
Hi mam very nice informing python language.
@vishalmishra98855 жыл бұрын
+91 92125 35516 ye lo... Mam ka No... Bhai... But Mam to reply nhi krte.... Hai bahi...
@shimulsarkar92503 жыл бұрын
Great logic💜
@AkashYadav-xb4uy5 жыл бұрын
Very well explained thank you so much ma'am🙂🙂🙂🙂
@madhvendra81945 жыл бұрын
Congratulations on 9k subscribers mam... 10k soon... 😊💓 Love u a lot mam... Thank-you
@ssmodani4 жыл бұрын
i found it easy but before i was afraid of it so it's nice tutorial
@Kartikyadav-bu7qc4 жыл бұрын
THANKS A LOT MA'AM....VERY NICE VIDEOS
@rakibulislam24525 жыл бұрын
nice logic madam.
@adarshkanojia41925 жыл бұрын
Simple interest , prime numbers, fabonacii series , compound interest,factorial issee bataiye mam
@thehumans82373 жыл бұрын
thanks mam
@hiteshyadav77593 жыл бұрын
thanks
@abuobaida53754 жыл бұрын
Thank you maam ,from Pakistan
@AECcomputers4 жыл бұрын
Most Welcome
@untitled64834 жыл бұрын
Thank you mam for making it easy
@jinks36694 жыл бұрын
Thank you ma'am.
@pradeepdwivedi2664 жыл бұрын
Mam but we necessarily need to put a larger than b or the progrmme wont work we must use if else to fix which one is larger to fix the modulus argument
@AECcomputers4 жыл бұрын
Program will fix that of it's own, will work one extra iteration in that case
@pradeepdwivedi2664 жыл бұрын
@@AECcomputers Mam so, in the first iteration the biger number will multiply with 0 to give the first number as remainder and then the two numbers just switch? am i right mam....And thank u maM!
@zafareqbal415 жыл бұрын
Hi Mam, This is Zafar, I want to know is this the correct way to find HCF of Three numbers in python: print ("Enter number to find HCF") n1 = int(input("Enter first number ")) n2 = int(input("Enter 2nd number ")) n3 = int(input("Enter 3rd number ")) while n1%n2 !=0: remainder = n1%n2 n1=n2 n2=remainder #print("HCF is ",n2) hcf = n2 n1=n3 n3=hcf print ("HCF of n1,n2,n3 is" , n3)
@RITESHKUMAR-fn6rh4 жыл бұрын
Ma'am this all video is enough for class 12th board 2020 plzz tell me🤔
@VikasKumar-my9rr4 жыл бұрын
Mam pahle theory pade ya programmes dhekhe
@suchitakumari99204 жыл бұрын
Mam plzzz series par videos bnayi plz..mere sir bhout series par ques dete h..jese 1-2+4------ aese series dete h muje kch smj nahi aata or youtube par kisi bhi channel par series ni karate h plzz mam help me out plzz
@rudranshvyas75393 жыл бұрын
Mam can you please upload how can we implement Bayes theorem using python
@adityasethi24363 жыл бұрын
if B>A in that case what will we do
@ssmodani4 жыл бұрын
mam it's showing error when i write rem...can you pls tell what should i do?
@VikasKumar-my9rr4 жыл бұрын
Mam yaha ham define nhi karege kuch
@kacpermokrzycki21443 жыл бұрын
Shorter def GCD(a,b): return a if b==0 else GCD(b,a%b) If anyone is obsessed with shortcode :))
@AshishYadav-hh5tb5 жыл бұрын
Thanku mam😍
@deepaknayak85init24 жыл бұрын
Mam how to use flag method in a program and find the number of words in a string .. lets take Deepak Kumar Nayak and the output will be 3.. how to do it using flag method ..!! Plz explain this by giving an example .. Thank You .!!
@AECcomputers4 жыл бұрын
You can keep a counter or can do it using dictionary also
@srishtipandey51013 жыл бұрын
Ma'am how can we do this program using recursion
@rakeshpatil8673 жыл бұрын
How to do program when number are more than two numbers????
@hacksman10664 жыл бұрын
Luv u ma'am 😘 u hav our full support ❣️
@syed1224.4 жыл бұрын
HCF recursion se bi kr skte h HOW can u please upload the video in which I learn computing GCD recursively...
@yadav_2220_4 жыл бұрын
Are madam aaj mila mujhe channel shi btay ro diye 11 me aj se shuru kr rhe... Maam please tell these all 93 vidios will be helpful to score good marks in 12th board???
@AECcomputers4 жыл бұрын
Yes, 12 k complete lectures upload honge don't worry
@yadav_2220_4 жыл бұрын
@@AECcomputers thanku so much mam 🙏 🙏🙏🙏🙏when i it will start?
@rohanpawar89594 жыл бұрын
How to use Python in android mobile?
@ashoktiwari75014 жыл бұрын
GG
@yadav_2220_4 жыл бұрын
Is these will be helpful for 12th board???
@AECcomputers4 жыл бұрын
Computer Science yes. Not for I.P
@yadav_2220_4 жыл бұрын
@@AECcomputers Mam please python class 12th start kr dijiye jldi se nhi to cs ki wjh se percentage kam ho jayga😔
@mirmir58135 жыл бұрын
Mam wt abt 20 and 36
@Arindam_Mukherjee985 жыл бұрын
It same as lcm jst reverse the loop
@pradumchauhan4735 жыл бұрын
Mam mai c language me tow number ko add karane ka program bana leta hu kya mai Python sik sakta hu ..... I,m goting Python....
@AECcomputers5 жыл бұрын
Yes
@Arindam_Mukherjee985 жыл бұрын
We do it in more easier way 😎
@vishalmishra98855 жыл бұрын
Mam python ka syllabus nahi hai....... Na... BCA.... Ma....
@AECcomputers5 жыл бұрын
Nahi. Bca main nahi hai abhi
@sadafanjum90304 жыл бұрын
First no Should.be greater than second
@Anjanasafar64332 жыл бұрын
L.c.m ka v bta dijiye mam
@AECcomputers2 жыл бұрын
Check the 100 days coding challenge playlist. Its done in that
@sayansagar68685 жыл бұрын
Madam Newton raphson ka ek video banaye plzzzzzzz
@official_praveenyadav5 жыл бұрын
Ip 50 day schedule mam please
@HAMEEDKHAN-hx2vw4 жыл бұрын
Can any one explain me 50 and 20 GCD explaination please tell me with the second method application in video
@pradeepdwivedi2664 жыл бұрын
Bro like u first divide 50 by 20 u get remainder 10. then u divide 20 by 10 u get rem 0:Implies that 10 is the hcf
@GadgetMeta5 жыл бұрын
Upload more
@artysun27394 жыл бұрын
I'm trying to get a computer
@ashoktiwari75014 жыл бұрын
A
@ashoktiwari75014 жыл бұрын
S
@dipukarmakar79303 жыл бұрын
Mam video quality😭😭😭😭
@charu90654 жыл бұрын
100th like 😎😎
@ashoktiwari75014 жыл бұрын
K
@NitinKumar-vw9gb4 жыл бұрын
Good ma 👌👌 mam have you solve python question that I had been sent U on ur email id ,,earlier ,pls send me answer please mam