I am very new to Python and am about three weeks behind due to textbook problems. I am having a problem with one programming exercise. I have no idea how to even begin writting a program to determine the distance to a lightning strike based on the time elapsed between the sound of thunder and the flash of lightning. (I know that the time interval between the flash and the sound should be multiplied by 1100 ft/second for the speed of sound, but that is all!) If someone can help me, I would greatly appreciate it. I have continued working through other programs, but this one has me stuck. H-E-L-P, Please!!!

8 Years
Discussion Span
Last Post by vegaseat

So lightning strikes and you count off let's say ten seconds before you hear the thunder. Sound travels at 1100 ft/second, so the distance will by 10 times 1100ft.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.