for num in range(1,10): if num%3 == 0 or num%5==0: print("fizzbuzz") elif num%3 == 0: print("fizz") elif num%5 == 0: print("buzz") else: print(num)
@FarhanKhan-nt7qv15 күн бұрын
First line as it is and In 2nd line number:-and, not or
@lubitusfarmsk7820 Жыл бұрын
I am the first comment jennyy mam from tamilnadu❤ I am learning C program with help of your videos ...
@karnaedits306 Жыл бұрын
Tamil ah.... 😂
@RithveckhDhamodharan Жыл бұрын
Even I'm from Tirupur, Tamilnadu
@RithveckhDhamodharan Жыл бұрын
@@karnaedits306 Even I'm from Tirupur, Tamilnadu
@lubitusfarmsk7820 Жыл бұрын
😁🙌🏻
@lubitusfarmsk7820 Жыл бұрын
@@karnaedits306 tamilan...
@vaishnavisharma57283 ай бұрын
1. n%2==0 because "=" is used for assignment and "==" for comparison 2. Instead of multiple ifs use if-elif-else otherwise number which is divisible by 15 will print fizzbuzz, buzz and fizz altogether. And it should be and instead of or
@Manojmanu-c2k11 ай бұрын
in fizzbuzz thing first we should use 'and' logical operator in if condition, and the we shoud use if elif elif else conditions, otherwise if number is divisible by both 3 and 5 will also divisible by 3 so its improper thing to use if conditions for all the conditions
@sanjayguguloth1729 Жыл бұрын
Hi Jenny mam, this is sanjay your favourite student from my side. these are the debugged results for Exercise - I n = int(input("Enter a number: ") if n%2 == 2: print ("Even") else: print("odd") Exercise -II for number in range (1,16): if number%3==0 or number%5==0: print("FizzBuzz") elif number%3==0: print("Fizz") elif number%5==0: print("Buzz") else: print(number)
@telugutechcorner Жыл бұрын
bro in second exercise in line 2 it should be 'and' not 'or' according to fizzbuzz program
@nirvikdutta3407 Жыл бұрын
@@telugutechcorner correct
@pushpanjalimishra2418 Жыл бұрын
It's should be 'and' instead of "or"
@jitjena5291 Жыл бұрын
It will be " i%2==0 " in first exercise so it will return the even number
@white7557 Жыл бұрын
Congratulations for 143+ million views on our channel mam❤ Love you❤
@vice-108 Жыл бұрын
Our channel 👀tune kb bnata
@dileepdillu4358Ай бұрын
I am enjoying while seeing this video 😊
@sakshamsarthi00 Жыл бұрын
Ma'am aap itna accha padha rhe ho main jee aspirants hu tbbhi HCV kr jgh pr apse coading ki lecture krne aaya hu 😅😅 after that meme ❤❤ Btw just kidding ❤😂
@itz_vaishu8 ай бұрын
1. == 2. Replace OR by AND ( this one am not sure )
@jjjmemes4203 ай бұрын
U said correctly🎉
@jjjmemes4203 ай бұрын
But instead of if if it shoud be if elif elif and else.
@itz_vaishu3 ай бұрын
@@jjjmemes420 Okie 🙌
@SuccessGeek Жыл бұрын
Ma'am will you make a tutorial of JavaScript?
@RTBOSS Жыл бұрын
Why not anyone built auto correction or suggestions IDEs for C++ like programming...
@AnkitKumar-xx4vl Жыл бұрын
because you didn't did
@shivakrishna_varma9658Ай бұрын
Line no 32 we should use == (equalto operator) instead of = (assignment operator)
@crazyeditstamil57173 ай бұрын
Answers: 1.n%2==0 2.for num in range(1,16): if num%3==0 and num%5==0: print("fizzbuzz") elif num%3==0: print("fizz") else num%5==0: print("buzz")
@hemab3857 Жыл бұрын
In this if n%2=0, the correct one is n%2==0 Then in fizz buzz first if condition we want to use and Then instead of if elif ....
@mangeshlawande2428 Жыл бұрын
It is helpful , thank you ma'am
@reasonalphysicsexplain94576 ай бұрын
In the last programme there should elif instead of if and there should be and instead of or.
@glps369 Жыл бұрын
Thank You So Much
@ChhotuYadav-ch3pd Жыл бұрын
Maidam hamara to art subject hai phir bhi aapki saari videos dekhte hai
@muneebbolo7 ай бұрын
in the 1st assignment, = is missing. in the 2nd assignment, or should be replaced with and.
@anagamers Жыл бұрын
Did you explain Java programming???
@RithveckhDhamodharan Жыл бұрын
Mam till how lectures are there in total to finish this PYTHON Course?
@himanshusrivastav3659 Жыл бұрын
Thank you mam 🙏
@Smruti-t2t8 ай бұрын
== is used in the place of =
@sayednoorahmad8973 Жыл бұрын
Thanks❤❤❤
@rashmikasaravanan8407 Жыл бұрын
In the hangman project that you uploaded earlier, theno of guesses are not fixed mam. Please check that once and let us know the solution
@Pin2__111 Жыл бұрын
Hello ma'am... Am from mechanical background and started my PhD recently.. My work is basically on Fortran coding.. I have zero knowledge in coding.. Can u plz guide me how to learn coding?? Thank you...
@vice-108 Жыл бұрын
Fortran 💀 kya bc vaccum tubes pr code kr rha
@GANESHV-gn3vt6 ай бұрын
How to comment a some block of code, by clicking one tap #
@darshanmodi86305 ай бұрын
hello ma'am all examples are copy from udemy
@Vaishu_M Жыл бұрын
When will u start java programming lectures mam?
@gunasekhar8785 Жыл бұрын
Hello Ms jenny, i thought u will say something about breakpoints, and debugging through that. But this is like😢
@empireofeducation2244 Жыл бұрын
I m from Uttrakhand
@NaveenKumar-fq4sb Жыл бұрын
sister gi pls latest python interview quation video upload
@freezedbrain. Жыл бұрын
I am in Love with you mam 💖😍
@krushnalmahajan01246 ай бұрын
Mam it's for the fizzbuzz game they have 2 error 1st is replaced OR by AND 2nd is you put If If If Else That is replaced into If Elif Elif Else
@DEEPTHINALAMARU Жыл бұрын
What is ur screat mam
@shiv_gourav3 ай бұрын
81✅
@utti_12c8 ай бұрын
Gpt chat help me 🤭
@akshaydhadekar5588 Жыл бұрын
Mam aap hindi mai smja nahi skti kya 🤔🤔🤔
@jennysanjana313610 ай бұрын
I'm jenny...
@Kishor_D77 ай бұрын
I'm Eren
@Venkatesh-q1d Жыл бұрын
Mam can I have ur number,i am an engineering student,and I have lots of doubts plz