bmkendzior1854 bmkendzior1854
  • 19-01-2021
  • Mathematics
contestada

A Python program that calculates how many seconds in a week

Respuesta :

samuelonum1
samuelonum1 samuelonum1
  • 24-01-2021

Answer:

See the python code in the description below

Step-by-step explanation:

A Python program that calculates how many seconds in a week

Step one:

One Minute = 60 Seconds

One Hour = 60 Minutes

One Day = 24 Hours

One Week = 7 Days

Step two:

#Initialize the number of seconds in a week

number_of_weeks= int(input("enter the number of weeks here: "))

number_of_seconds_in_a_week=60*60*24*7*number_of_weeks

print("the number of seconds in", number_of_weeks, "week(s)", "is", number_of_seconds_in_a_week )

Answer Link

Otras preguntas

The U.S. consumer market is large, but other markets may offer what advantage?
Help with number 3 please. Thanks
Adults need at least 1 hour and 30 minutes of vigorous-intensity aerobic activity per week for important health benefits.
source of fish,timber,coal, copper,and gold
As a new reporter for the community magazine, Amanda was nervous about doing her first interview with the state governor. She asked Cameron, a veteran reporter,
Yoga can be considered an alternative medicine. Please select the best answer from the choices provided T F
1 gal and 1 quart minus 3 quarts
How many sandwiches can I make if I have 4 pounds of cheese and I use ⅛ of a pound for each one?
Maya Angelou did not speak for almost A. twenty-four hours. B. three months. C. two years. D. five years.
Michelle can run 5.44 miles in 68 minutes. What is Michelle's average speed, in miles per minute?