Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- ## -*- coding: utf-8 -*-
- # A Simple 20 Second Countdown Created With Python Scripting.
- __file_name__ = '20to0.py'
- __author__ = 'Dan Evans'
- __copyright__ = 'Copyright 2016©, Coding With Py'
- __credits__ = 'Dan Evans'
- __dct_url__ = 'http://purl.org/dc/terms/'
- __license__ = 'Creative Commons'
- __rel_url__ = 'http://creativecommons.org/licenses/by-nc/4.0/'
- __version__ = 'CC-by-nc/4.0/'
- __maintainer__ = 'Dan(Python253)Evans'
- __email__ = 'Python253@gmail.com'
- print('\n','','20to0.py is licensed under',
- 'The Creative Commons Attribution-NonCommercial 4.0 International License',
- '\n'*2,'File Name: '+__file_name__,'\n','Author: '+__author__,
- '\n','Copyright: '+__copyright__,'\n','Credits: '+__credits__,
- '\n','DCT URL: ','\n',__dct_url__,'\n','License: '+__license__,
- '\n','Release URL: ','\n',__rel_url__,'\n','Version: '+__version__,
- '\n','Maintainer: '+__maintainer__,'\n','Email: '+__email__,'\n')
- # This Script Counts Down From 20 to 0 Seconds.
- i = 21
- while i > 0:
- i = i - 1
- print(i)
- if i == 0:
- print('Done')
- # End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement