print when while loop starts then stop code example Example: infinite while python #infinite While on Python while True: print('Hello World!')