answer.
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]
1 year 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]1 year 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]1 year 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
a motor boat traveled 18 miles down a river in 2 hours but took 4.5 hours to return upstream. Find the rate of the motor boat in
tangare [24]

Answer:

  • rate of the boat in still water = 6.5 miles / hour

  • rate of the current = 2.5 miles / hour.

Explanation:

<u>1) Name the two variables:</u>

  • c: rate of the current
  • b: rate of the boat in still water:

With that, the net rates of the boat down the river and upstrean are:

  • down the river: b + c
  • upstream: b - c

<u>2) Now set the equations for the distance as a function of the times and the rates:</u>

  • distance = rate × time

  • downstream: 18 miles = (b + c) × 2 hours
  • upstream: 18 miles = (b - c) × 4.5 hours

<u>3) Set the system of equations:</u>

  • 18 = 2(b + c) ⇒ 9 = b + c . .  . Equation (1)
  • 18 = 4.5 (b - c) ⇒ 4 = b - c . . . Equation (2)

<u>4) Solve the system by </u><u>elimination</u><u>:</u>

  • Add equations (1) and (2): 9 + 4 = 2b
  • Divide both sides by 2: 13/2 = b
  • Simplify: b = 6.5

  • Replace b with 6.5 in equation (2) and solve:

       4 = 6.5 - c ⇒ c = 6.5 - 4 = 2.5

<u>5) Results:</u>

  • b = rate of the boat in still water = 6.5 miles / hour

  • c = rate of the current = 2.5 miles / hour.

   

3 0
1 year ago
Read 2 more answers
Kate had 70 brooms; Alisa had 20 more brooms than Kate. What was the ratio of Kate’s brooms to Alisa’s brooms?
Shalnov [3]

Answer:

7:9

Step-by-step explanation:

it was 70:70+90 cuz it was 20 moe than kates broom and if u simpifly that it will be 7:9 and sorry if my grammers bad im also a student lol i hope this helps. :)

4 0
2 years ago
The price of a ceramic bead necklace (Y) is directly proportional to the number of beads (x) on the necklace. Using the graph, w
Annette [7]

Answer: C) (1,0.80) represents the unit rate. E) (25,20) represents the price of a necklace with 25 beads

Step-by-step explanation:

(1, 0.80) represents the unit rate.

(25, 20) represents the price of a necklace with 25 beads.

\frac{y}{x} = unit rate → \frac{4}{5} = 0.80; \frac{12}{15} = 0.80; \frac{16}{20} = 0.80

Point (1, r) → (1, 0.80) represents the unit rate.

25(0.80) = 20; thus, (25, 20) represents the price of 25 beads.

Hope this helps

8 0
1 year ago
Bob neff owner of an automotive dealership pays one of his salesmen mike a $1300 draw per week plus 6% on all commission sales.
mario62 [17]
To find the answer you would multiply 1,300 by .06, which gives you a commission of $78.

Hope this helps!
3 0
1 year ago
A builder needs three pipes of different lengths. The pipes are 6√96 feet long, 12√150 feet long, and 2√294 feet long. How many
Afina-wow [57]
80 feet How many feet of piping is required in all? (Hint: Try dividing each radicand by 6.)
8 0
1 year ago
Read 2 more answers
Other questions:
  • What is 45 divided into 6 show how you got
    11·1 answer
  • Dilbert forgot to study for the multiple-choice exam. Each question has four choices and there are 50 questions. Dilbert, in his
    12·1 answer
  • There were 8,651 deaths and 14,662 births reported in Hillsborough County in the year 2000. If there were 998,948 people living
    13·2 answers
  • Which statement justifies that angle XAB is congruent to angle ABC?
    15·2 answers
  • Which shows one way to determine the factors of 12x3 – 2x2 + 18x – 3 by grouping?
    9·2 answers
  • Axline Computers manufactures personal computers at two plants, one in Texas and the other in Hawaii. The Texas plant has 40 emp
    5·1 answer
  • You measure the volume of a cube at rest to be V0. You then measure the volume of the same cube as it passes you in a direction
    6·1 answer
  • What is the domain of y = log Subscript 4 Baseline (x + 3)?
    10·2 answers
  • Eight trials are simulated. The results are shown in the table. Simulation 109 105 112 110 115 106 108 109 What is the estimated
    11·1 answer
  • PLZZZZZZZ HELP ASAP Figure JKL is reflected about the y-axis to obtain figure J’K’L’: A coordinate plane is shown. Triangle JKL
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!