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
Which is another way to write the expression t • (14 - 5)
zaharov [31]
C is the answer by using distributive property

8 0
3 years ago
Read 2 more answers
A farmer wants to fence in a rectangular plot of land adjacent to the north wall of his barn. no fencing is needed along the bar
jeyben [28]

Hi,

Let assume a the west side,

b the length of the north wall (i suppose the answer is smaller then the barn.

Cost of the fence= a*6+a*12+b*12=3000 $.

So 3a+2b=500==>b=(500-3a)/2

Area =a*b=a(500-3a)/2= 250a-3/2a²

Derivate the area ==> 250-3a=0

==> a=250/3 and b=(500-3*250/3)/2=125

Width=125 (feet)

Length=250/3=83.333 (feet)

3 0
2 years ago
For every girl taking classes at school there are three boys if there are 236 student how many are boys.
BaLLatris [955]
1:3 is the ratio to boys and girls. I know that 1/4 must be girls. 3/4 will be boys.

Divide 236 by 4.

236/4= 59

Multiply that by 3.

59*3= 177

177 of the students are boys.

I hope this helps!
~kaikers
3 0
3 years ago
The heaviest 16% of all men in weight weigh more than how many pounds ?
Likurg_2 [28]

Answer: 205 lbs

here are all the answers http://washburn.mpls.k12.mn.us/uploads/normal_calculations_practice_key.pdf

Step-by-step explanation:


5 0
3 years ago
In the above figure, m∠A = 32° and m∠B = (2x + 14)°. If angles A and B are complementary angles, what are the value of x and the
Neko [114]

Complementary angles have a sum of 90

32+2x+14=90

2x+46=90

2x=44

x=22 the second angle is 58

2(22)+14=58

5 0
3 years ago
Other questions:
  • Solve the inequality. Graph the solution. c9≤−4
    11·1 answer
  • What is the monetary amount of 222 quarters
    9·1 answer
  • Heather learned a total of 15 appetizer recipes over the course of 3 weeks of culinary school. After how many weeks of culinary
    8·1 answer
  • The expression 3n^2+n+2. What is the coefficient of n?
    12·1 answer
  • In a football game, a team loses 8 yards, then loses 3 yards, then loses 11 yards.
    13·2 answers
  • What is the distance between the following points?
    12·2 answers
  • Sarah bought a new T-shirt for $40. The sale tax is 4%. How much was the tax?
    11·2 answers
  • What is x<br><br> 5x + 5 = 40
    10·2 answers
  • 1 point 36. The length of a rectangle shape is 7.5 cm and the with is 3 cm. What is the area of the shape? OA A). 22.5 cm B). 23
    5·1 answer
  • Vaimiti walks at a constant pace of 1.1 m/s and takes 25 minutes to get to school.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!