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
Leni [432]
3 years ago
10

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. note: the

re are 12 inches in a foot. ex: print_total_inches(5, 8) prints: total inches: 68
Mathematics
2 answers:
Bond [772]3 years ago
6 0

Answer:

def print_total_inches(num_feet, num_inches):

   totalinches = (12*num_feet) + num_inches

   print('total inches:' + str(total inches))

print_total_inches(5, 8)

Step-by-step explanation:

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. note: there are 12 inches in a foot. ex: print_total_inches(5, 8) prints: total inches: 68

Using a python Graphic User interface we can write the following code in python.

def print_total_inches(num_feet, num_inches):

   totalinches = (12*num_feet) + num_inches

   print('total inches:' + str(total inches))

print_total_inches(5, 8)

Leona [35]3 years ago
5 0

Answer:

2

I am taking my first programming course, so my apologies if this is a dumb question/possibly classified by the wrong category on this site. One of the exercise problems I am working on is the following:

Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a foot. Ex:

print_total_inches(5, 8) prints:

Total inches: 68

Step-by-step explanation:

You might be interested in
X + y = 4<br> y = -x + 4
rjkz [21]

Answer:

Infinite Solutions

Step-by-step explanation:

x + y = 4

y = -x + 4

x + y = 4

x - x + 4 = 4

0 = 0

5 0
2 years ago
Research has shown that approximately 1 woman in 600 carries a mutation of a particular gene. About66 ​% of women with this muta
UNO [17]

Answer:

add otherwise I don't know sorry im on that question

Step-by-step explanation:

6 0
2 years ago
Need help. <br><br> Enter an inequality that represents the graph in the box.
xxMikexx [17]
First you need to form a worthy equation using slope-intercept (y=mx+b). Do that by counting the slope and finding the y-intercept. Then you have to choose between < or > to make it more accurate. In order to do so, you would have to pick a point with a point x and y and see wether or not I’m the equation is true when you put it in the blanks. If it’s true then you would shade whichever region the point is. If it’s false then shade the opposite region.

Good luck!!!!!!! :)
5 0
3 years ago
What nitrogen base sequence is the partner c-a-t-c-g-a
nataly862011 [7]

Answer: G-T-A-G-C-T

Step-by-step explanation: so A pairs with T While G pairs with C

4 0
3 years ago
What is the area of a regular 16-gon with a radius of 15 feet? Round your answer to the nearest tenth.
Sedbober [7]

Split up the 16-gon into 16 congruent isosceles triangles. Cut each of these isosceles triangles in half to get a right triangle.

The radius of the 16-gon corresponds to the hypotenuse of any of these 32 right triangles. As you probably know, the area of a triangle is half the product of its base and height. For a right triangle, the base and height can be taken to be the two legs. So you need to find their lengths.

Recall that the exterior angles of any convex polygon sum to 360º in measure. For a regular polygon, these angles are all congruent. There are 16 of them in this case, so they each have measure (360/16)º = 22.5º.

Interior angles are supplementary to exterior angles, which means each interior angle of the 16-gon has measure (180 - 22.5)º = 157.5º.

When we split up the 16-gon into isosceles triangles, the "base angles" are equal in measure to half the measure of the interior angles, since each hypotenuse bisects the interior angle. So each base angle has measure 78.75º.

In each right triangle, we then have base <em>b</em> and height <em>h</em> such that

sin(78.75º) = <em>h</em>/15

cos(78.75º) = <em>b</em>/15

Solve for <em>h</em> and <em>b</em> to get

<em>b</em> = 15 cos(78.75º)

<em>h</em> = 15 sin(78.75º)

Then the area of each right triangle is

1/2 <em>b h</em> = 225/2 sin(78.75º) cos(78.75º) = 225/4 sin(157.5º)

and so the area of the 16-gon is

32(1/2 <em>b h</em>) = 1800 sin(157.5º) ≈ 688.8 sq. ft.

4 0
3 years ago
Other questions:
  • Jamie is a salesperson in a shoe store and earns $95 per week, plus 20% of her weekly sales. If Jamie makes $475 in one week, wh
    10·1 answer
  • The price of a cup of coffee has dropped to$2.15 today. Yesterday's price was $2.50. Find the percentage decrease. Round your an
    6·1 answer
  • In similar triangles, corresponding angles are congruent. True False
    9·2 answers
  • How does $100 gift card affect the measure of center of the data?
    7·1 answer
  • 6r^2+6r+12=0<br>solve the square​
    14·1 answer
  • Determine the 16th term of the sequence<br><br>9, 18, 36....<br><br>r________?​
    12·1 answer
  • Solve for n <br> 10n+0.3=0.1+0.3
    8·1 answer
  • Y=7x-5 slope and y intercept
    6·2 answers
  • Plz Help Me! I don’t have much time
    7·2 answers
  • What is the value of x<br><br>a) 69<br>b) 35<br>c) 14<br>d) 26​
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!