Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def displayLesson():
- time.sleep(1)
- print('''
- Testing123
- ''')
- def userTime():
- print('Shut down request')
- time.sleep(1)
- print('3 seconds to shutdown...')
- time.sleep(2)
- print('Going offline...')
- def flowControl():
- answer = input("do you want run the 'displayLession' function? ( yes or
- no)").strip()
- if answer == ('y' or 'yes'):
- displayLesson()
- else:
- userTime()
- print('End program')
Add Comment
Please, Sign In to add comment