fa6a1cef-baa4-4407-9e6f-75e9d04eb2f1
prompter
Find the bug in the following code piece:

a = 1
while a == 1:
  b = input("what's your name ?")
print("Hi ",b, " this is infinity loop !")
3a34ded7-9118-4be5-a16d-b5ce8b7fbc73
fa6a1cef-baa4-4407-9e6f-75e9d04eb2f1
assistant
Sure! It looks like the while loop will never conclude because `a` is always set to 1. Perhaps you meant to check the value of `b` to determine if the user had entered their name correctly?

Additionally the print statement will never execute because of the infinity loop above.