With while loop we can make block of code executed as long as while statement is True
test = 0while ( test < 5): print("hello") test = test + 1
hellohellohellohello…