A Python script that calculates the distance between a storm and an observer of it.
Python 3.x
Click the Code button, then click on "Download ZIP"
OR
Click the storm_distance.py file, then click on the Download Raw File button.
- Enter the time delay between the lightning and the thunder in seconds. It must be a positive number, either integer or decimal. Then, press Enter.
- The distance between the storm and the observer will be displayed on screen.
- Finally, press Enter to exit the program.
MIT License © 2025 Antonis Paraskevis