# sleep_input_while.py
import time
startCondition = input('Type 1 and press Enter\n')
while startCondition == '1':
time.sleep(4.0)
print('4 seconds passed')
input('')
##
'''
Type 1 and press Enter
1
4 seconds passed
4 seconds passed
4 seconds passed
'''
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting