1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Tcecarenko [31]
3 years ago
7

A Python program that calculates how many seconds in a week

Mathematics
1 answer:
Liula [17]3 years ago
4 0

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 )

You might be interested in
Hi help !!!!!!! !!!!!!!!!
erastovalidia [21]
Im pretty sure that it is 540
6 0
4 years ago
Read 2 more answers
Someone please help me with this question asap!
Alexeev081 [22]

Answer:

23.5 in

Step-by-step explanation:

To find the length of HJ in triangle GHJ, create <u>three equations</u> using the given information, then solve simultaneously.

<u>Equation 1</u>

HJ is two inches longer than GH:

⇒ HJ = GH + 2

<u>Equation 2</u>

GJ is 17 inches shorter than the sum of HJ and GH:

⇒ GJ + 17 = HJ + GH

<u>Equation 3</u>

The perimeter of ΔGHJ is 73 inches:

⇒ HJ + GH + GJ = 73

<u>Substitute</u> Equation 1 into <u>Equation 2</u> and isolate GJ:

⇒ GJ + 17 = GH + 2 + GH

⇒ GJ + 17 = 2GH + 2

⇒ GJ = 2GH - 15

<u>Substitute</u> Equation 1 into <u>Equation 3</u> and isolate GJ:

⇒ GH + 2 + GH + GJ = 73

⇒ 2GH + GJ = 71

⇒ GJ = 71 - 2GH

<u>Equate</u> the two equations where GJ is the subject and <u>solve for GH</u>:

⇒ 2GH - 15 = 71 - 2GH

⇒ 4GH = 86

⇒ GH = 21.5

<u>Substitute</u> the found value of GH into <u>Equation 1</u> and solve for HJ:

⇒ HJ = 21.5 + 2

⇒ HJ = 23.5

7 0
2 years ago
Read 2 more answers
Write the equation of the line perpendicular to y=2/3 x−12 that passes through the point (4, -1) in slope-intercept form.
xenn [34]

Answer:

Step-by-step explanation:

perp. -3/2

y + 1 = -3/2(x - 4)

y + 1 = -3/2x + 6

y = -3/2x + 5

7 0
3 years ago
Lines AB and CD are parallel. If mZN is 52" then what is my?
erastovalidia [21]
If line AB and CD are parallel then it’s 152
3 0
4 years ago
Neeeed helppp been stuck on this lesson for too long
Norma-Jean [14]

Answer:

substitude (2x+4) for y in the second equation

 

7 0
4 years ago
Read 2 more answers
Other questions:
  • Which expression shows the value of z?
    15·1 answer
  • How is the Remainder Theorem related to the process of synthetic division?
    10·1 answer
  • Tim's grandfather lends him $105 to buy
    9·2 answers
  • How do I solve this?
    11·1 answer
  • Can some please help me with this question?<br><br> Best answer gets full stars and brainliest. :)
    9·1 answer
  • Can you fill in the blanks? ☺️ Thanks!
    15·1 answer
  • Simplify the expression<br> -2(5z -7)
    15·1 answer
  • Hey could anyone help me with this Pythagorean theorem (to get the code you add all of the answers together)
    8·1 answer
  • Look at the following expression. Which operation should be done first?
    12·1 answer
  • Tell whether the line or segment is best described as a radius, chord, diameter, secant, or tangent of ​⨀P
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!