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
a baseball dropped from the roof of a tall building takes 3.1 seconds to hit the ground. how tall is the building?
cluponka [151]
Initial velocity = 0 m/s
Acceleration = 9.8 m/s²
Time = 3.1 s

s = ut + 1/2 at²
s = 1/2 x 9.8 x 3.1²
s = 47.1 m

The building is 47.1 meters tall
4 0
3 years ago
Read 2 more answers
A pile of cards contains 3 diamonds,
Shtirlitz [24]

Answer:G

Step-by-step explanation:

4/9 times 2/8= 1/9

6 0
2 years ago
Read 2 more answers
What would the inequality be if there are fewer than 10 yards of fabric left?
jasenka [17]
If i am understanding the question correctly, x<10
8 0
3 years ago
Read 2 more answers
HELP ME PLEASE PLEASE HELP ASAP PLEASE
marin [14]

Answer:

X = \frac{L}{6\pi r } - \frac{5r}{6}  

Step-by-step explanation:

4 0
3 years ago
a piece of yellow yarn was 230 inches long. After 90 inches had een cut from it,,, the piece of yellow yarn was twice as longas
jasenka [17]
Okay. So 90 yds was cut from the 230 yd yarn. 230 - 90 = 140. 1/2 of 140 is 70. 230 - 70 = 160. The yellow yarn was 160 yds longer than the blue yarn at first.
3 0
3 years ago
Read 2 more answers
Other questions:
  • What is the absolute value of -12|3x+12|5=43
    7·1 answer
  • Subtract six hundred fifty three thousand from two million.​
    11·2 answers
  • I need help with my online class
    10·1 answer
  • Help me solve please
    8·1 answer
  • A number cube is rolled 60 times. The results of those
    15·2 answers
  • Beth has already jogged 3 miles. she plans to jog less than 12 miles. which inequality can be used to find the number of miles (
    9·1 answer
  • PLEASE HELP ME WITH DIS TWO MATH PROBLEM
    5·1 answer
  • Find measure of arc HJ. *
    6·2 answers
  • Hi can you help with this ​
    5·2 answers
  • Find the volume of this square<br> based pyramid.<br> 10 in<br> 12 in<br> [? ]in3
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!