Hi @yayati1079 ,
There is inconsistency in your indentations. Check line number 38.
Let me explain it with an example:
Below is an example of consistent indentation:
while True:
....if 1 == 1:#intentated with 4 spaces with respect to the while block
........print("Hi")#intentated with 4 spaces with respect to the if block
Below is an example of inconsistent indentation:
while True:
....if 1 == 1:#intentated with 4 spaces with respect to the while block
..........print("Hi")#intentated with 6 spaces with respect to the if block
OK sir! Thank you for the detailed explanation!!