### this is a python question i 39 m getting so many errors in mine please help 1 the en 5196229

1) The energy in joules released for a particular Richter scale measurement is given by: E 10(1.5*r)4.8 Joules

where E is energy measured in joules and r is the Richter scale measurement (typically on a scale from 1- 10 as a floating point number).
One metric ton of exploded TNT yields 4.184×109 joules of energy. Thus, you can relate the energy released in joules to metric tons of exploded TNT.

For each of the following Richter scale measurements, your python script will perform the appropriate calculations to determine the equivalent amount of energy in Joules. From the energy found, determine the equivalent amount(in metric tons) of exploded TNT. Use formatted print statements to output the following information in three columns: The richter scale value, the Energy in Joules and the equivalent tonnage of TNT. Use column headings of Richter, Energy(J) and TNT(in metric tons). Output the values left justified in a field width of 15 for each column. Richter scale values are output with 1 decimal place, Energy with 2 decimal places and TNT with 2 decimal places.

5.0

9.1 (Indonesia earthquake, 2004)
9.5 (Chile earthquake, 1960; largest ever measured)

Hint: create a list with the richter scale readings, then use a for loop: for richter in richterList: … Inside the loop, use the richter reading to calculate the Energy and then calculate the metric tons of TNT. Lastly, in the loop print out the values read and calculated in the columns specified.

2) Write a python script that will compute and display information for a company which rents vehicles to its customers.
For a specified customer, the program will compute and display the amount of money charged for that customer’s vehicle rental after prompting the user to enter the following four items for a given customer (in the specified order)

 The customer&#39;s classification code (a character either B, D, or W)

 The number of days the vehicle was rented (an integer)

 The vehicle&#39;s odometer reading at the start of the rental period (an integer)

 The vehicle&#39;s odometer reading at the end of the rental period (an integer)

The program will compute the amount of money that the customer will be billed, based on the customer&#39;s classification code, number of days in the rental period, and number of miles driven.
The program will recognize both upper case and lower case letters for the classification codes.

 Code &#39;B&#39; (budget) base charge: \$40.00 for each day. Mileage charge: \$0.25 for each mile driven

 Code &#39;D&#39; (daily) base charge: \$60.00 for each day. Mileage charge: no charge if the average number of miles driven per day is 100 miles or less; otherwise, \$0.25 for each mile driven above the 100 mile per day limit.

 Code &#39;W&#39; (Weekly) base charge: \$350.00 for each week. If the car is kept less than 7 days, then \$350.00 is still charged. For rental periods more than 7 days, the base charge is \$350 per 7 days and \$70 for any days making a fraction of a week(i.e. 9 days means \$350 + 2* \$70 = \$490). Mileage charge: no charge this rental comes with unlimited miles

After calculating the bill, use formatted output to output the total bill with 2 decimal places of precision. Use an appropriate phrase for the output