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

how is the bermuda triangle enigma
what is the greatest common factor for 33 55 and 132
solve the equation using any method you prefer. Give imaginary roots.[tex]3a^2+4=2a[/tex]
What is the function of the relative pronoun in the adjective clause? We all enjoyed the play that you wrote. A. direct object B. subject C. object of a prep
how did the war hawks in the war of 1812 promote a war agenda?
solve the equation 2x^2-x=1
how did the Vikings eventually establish Vinland?
An incident at the Gulf of Tonkin, off the eastern coast of __________, became the justification for increasing the level of U.S. involvement in the war in Viet
Write about a financial decision you have made recently. What was the main benefit of making that decision? Describe two opportunity costs as a result of making
Which mixed number is greater than 6.78 A:6 2/3 B:6 3/4 C:6 7/9 D:6 4/5