1
2
#Extract latitude, longitude, and name from the earthquake files:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
time,latitude,longitude,depth,mag,magType,nst,gap,dmin,rms,net,id,updated,place,type,horizontalError,depthError,magError,magNst,status,locationSource,magSource
2017-01-17T11:48:48.530Z,5.4319,94.6079,54.55,5.6,mb,,67,2.338,1,us,us10007tps,2017-01-17T12:14:46.732Z,"80km W of Banda Aceh, Indonesia",earthquake,7.4,5.8,0.045,173,reviewed,us,us
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
time,latitude,longitude,depth,mag,magType,nst,gap,dmin,rms,net,id,updated,place,type,horizontalError,depthError,magError,magNst,status,locationSource,magSource
2017-01-17T14:21:15.020Z,37.671833,-118.8786697,0.62,1.43,md,11,126,0.02737,0.04,nc,nc72753285,2017-01-17T14:36:03.007Z,"8km ENE of Mammoth Lakes, California",earthquake,0.3,0.94,0.2,11,automatic,nc,nc
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
time,latitude,longitude,depth,mag,magType,nst,gap,dmin,rms,net,id,updated,place,type,horizontalError,depthError,magError,magNst,status,locationSource,magSource
2017-01-17T14:55:29.090Z,35.7296677,-121.0910034,7.02,3.21,ml,56,85,0.06966,0.08,nc,nc72753295,2017-01-17T15:45:16.539Z,"13km NE of San Simeon, California",earthquake,0.22,0.6,0.127,7,automatic,nc,nc
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
time,latitude,longitude,depth,mag,magType,nst,gap,dmin,rms,net,id,updated,place,type,horizontalError,depthError,magError,magNst,status,locationSource,magSource
2017-01-17T11:48:46.400Z,5.4276,94.5615,35,5.1,mwb,,26,2.383,1.19,us,us10007tps,2017-01-17T13:54:39.744Z,"85km W of Banda Aceh, Indonesia",earthquake,3.1,1.9,0.078,16,reviewed,us,us
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
time,latitude,longitude,depth,mag,magType,nst,gap,dmin,rms,net,id,updated,place,type,horizontalError,depthError,magError,magNst,status,locationSource,magSource
2017-01-17T23:44:20.340Z,-12.2084,-77.3447,38.96,3.9,mb,,199,0.538,0.62,us,us10007ttd,2017-01-18T00:44:00.428Z,"26km SW of Callao, Peru",earthquake,7.9,8.8,0.257,4,reviewed,us,us
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Adding or removing images is disabled during broadcasting. You'll be able to update images again once the broadcast session is over.

Images listed here are available to use in your code in this trinket. Click the Image Library button to include more or upload new images.

How To Use Images

Images can be used with the turtle module.

import turtle
screen = turtle.Screen()
# set the screen background
screen.bgpic("filename.png")

# Or, set the shape of a turtle
screen.addshape("filename.png")
tina = turtle.Turtle()
tina.shape("filename.png")

Powered by

Run your code first!

It looks like you haven't tried running your new code.

Try clicking  Run and if you like the result, try sharing again.

×