Debugging in Python | Debugging Tips | Python Tutorials for Beginners #lec81

preview_player
Показать описание
In this lecture we will learn:
- What is Debugging?
- How to do Debugging?

*********************************************

Connect & Contact Me:

*******************************************

More Playlists:

#debugging #python #pythonforbeginners #pythonprogramming #jennyslectures
Рекомендации по теме
Комментарии
Автор

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

vaishnavisharma
Автор

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)

azarudeena
Автор

I am the first comment jennyy mam from tamilnadu❤ I am learning C program with help of your videos ...

lubitusfarmsk
Автор

Why not anyone built auto correction or suggestions IDEs for C++ like programming...

RTBOSS
Автор

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

iwstfji
Автор

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 ❤😂

sakshamsarthi
Автор

Ma'am will you make a tutorial of JavaScript?

SuccessGeek
Автор

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

krushnalmahajan
Автор

in the 1st assignment, = is missing.

in the 2nd assignment, or should be replaced with and.

muneebbolo
Автор

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 ....

hemab
Автор

Congratulations for 143+ million views on our channel mam❤
Love you❤

white
Автор

Mam till how lectures are there in total to finish this PYTHON Course?

RithveckhDhamodharan
Автор

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

rashmikasaravanan
Автор

How to comment a some block of code, by clicking one tap #

GANESHV-gnvt
Автор

Maidam hamara to art subject hai phir bhi aapki saari videos dekhte hai

ChhotuYadav-chpd
Автор

In the last programme there should elif instead of if and there should be and instead of or.

reasonalphysicsexplain
Автор

When will u start java programming lectures mam?

Vaishu_M
Автор

1. ==
2. Replace OR by AND ( this one am not sure )

itz_vaishu
Автор

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)

sanjayguguloth
Автор

sister gi pls latest python interview quation video upload

NaveenKumar-fqsb