Python

Lightning

8 points 

This program is meant to be run during a thunderstorm. The user enters the number of seconds between when lightning is seen and the associated thunder is heard. The program calculates how far away the lightning is, in miles and in kilometers.

 

The video below shows a completed program being run.

Video

 

Starting Point

Download Lightning.py as a starting point for the project. The file guides you towards completing the program.