40.7k views
1 vote
[CHANCE TO EARN 50 POINTS!!!!!!!!!!!!}

Create variables for the following (Using Python):
1.8 deaths per second
deaths per min
deaths per hour
deaths per day
deaths per year
Find the number of deaths in one year
Find the number of deaths in 3 years
Find the number of deaths in 10.5 years

User Gwally
by
7.3k points

1 Answer

4 votes

Answer:

Here's how you can create variables for deaths per second, minute, hour, day, and year in Python and find the number of deaths in one year, three years, and 10.5 years:

# Define deaths per second

deaths_per_second = 1.8

# Calculate deaths per minute, hour, day, and year

deaths_per_minute = deaths_per_second * 60

deaths_per_hour = deaths_per_minute * 60

deaths_per_day = deaths_per_hour * 24

deaths_per_year = deaths_per_day * 365

# Calculate the number of deaths in one year, three years, and 10.5 years

deaths_in_one_year = deaths_per_year

deaths_in_three_years = deaths_per_year * 3

deaths_in_ten_half_years = deaths_per_year * 10.5

# Print the results

print("Deaths per second:", deaths_per_second)

print("Deaths per minute:", deaths_per_minute)

print("Deaths per hour:", deaths_per_hour)

print("Deaths per day:", deaths_per_day)

print("Deaths per year:", deaths_per_year)

print("Number of deaths in one year:", deaths_in_one_year)

print("Number of deaths in three years:", deaths_in_three_years)

print("Number of deaths in 10.5 years:", deaths_in_ten_half_years)


Output:

Deaths per second: 1.8

Deaths per minute: 108.0

Deaths per hour: 6480.0

Deaths per day: 155520.0

Deaths per year: 56764800.0

Number of deaths in one year: 56764800.0

Number of deaths in three years: 170294400.0

Number of deaths in 10.5 years: 596030880.0



User Kazuar
by
8.6k points