In: Computer Science
a = 0
while a < 100:
b = 0
while b<55:
print('*', end='')
b += 1
print()
a += 1
The answer is 110 asterisks.
Here I will attach the given code indentation:

Code:-
a = 0
while a < 100:
b = 0
while b<55:
print('*', end='')
b += 1
print()
a += 1
Output:-

Reason:-
Here we can see that there is a nested while loop. In the first loop the condition satisfies when variable a is lesser then 100 then it enters the second loop if the b value is < 55. So both the conditions are true hence it will be in the inner loop.
So the inner loop executes until b value is <55 then at that time value will also be 55. Then it comes to first while loop there a=55 and it's lesser than 100 so it goes inner way. there b became 0 and executes till b value =55.
So a value will get incremented in the inner loop and it reaches 110 and B variable reaches 55. So now both condition of loop fails and the program will end. So because of two loops, the number of asterisks print is 110 as loop iterates for 110 times and prints the 100 astrisks.
***Any doubt please feel free to comment...Please Upvote...Thank You...***