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
Evaluate the following<br> a) 4!=<br> b) 0!=<br> c) 2! + 3!=<br> d) 3! x 4!<br> e) 10! / 7!
IRISSAK [1]

Answer:

See below for answers and explanations

Step-by-step explanation:

4! = 4*3*2*1 = 24

0! = 1

2! + 3! = 2*1 + 3*2*1 = 2 + 6 = 8

3! * 4! = 3*2*1 * 4*3*2*1 = 6 * 24 = 144

10! / 7! = 10*9*8*7*6*5*4*3*2*1 / 7*6*5*4*3*2*1 = 10*9*8 / 1 = 720

6 0
2 years ago
Solve each system of equations algebraically. For each one, explain what the solution (or lack thereof) tells you
Paul [167]

Answer:

a: no solutions

b: (2, 3)

Step-by-step explanation:

a:

In both equations, the slope of x is the same, but the y-intercept is not, which means they are parallel. Therefore, this system of equations has no solutions.

b:

Since both of the equations are equal to y, we can set them equal to each other:

\frac{1}{2}x^2+1= 2x-1\\x^2 + 2 = 4x - 2\\x^2-4x+4=0

We can solve by factoring (by finding a number that multiplies to 4 and adds up to -4):

(x-2)^2 = 0

x = 2

Now, to find y, plug-in x to any of the equations:

y = 2*2-1 = 3

Therefore, the solution to this system of equation is (2, 3)

I hope this helped.

4 0
3 years ago
1 - Graph a line with a slope of 4​
AVprozaik [17]
Y=4x+2 that my equation now graph it
4 0
3 years ago
When a number is added to 1/5 of itself, the result is 24. The equation that models this problem is n +1/5 n = 24. What is the v
Lady_Fox [76]

For this case we must find the value of n of the following equation:

n + \frac {1} {5} n = 24

Taking common factor "n" from the left side of the equation we have:

n (1+ \frac {1} {5}) = 24\\n \frac {6} {5} = 24

Multiplying by 5 on both sides of the equation:

6n = 120

Dividing between 6 on both sides of the equation:

n = 20

Thus, the value of n is 20.

Answer:

n = 20

7 0
3 years ago
Read 2 more answers
In simplest racial form what are the solutions to the quadratic equation 0= -3x-4x+5
givi [52]

Answer:

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Other questions:
  • 6p - 5 = 13 <br><br> What equals p?
    6·2 answers
  • Alexander and Eliza each opened a savings account with a deposit of $100
    13·1 answer
  • How would i do number 2?
    13·1 answer
  • Complete the point-slope equation of the line through (3,6)(3,6) (3,6) left parenthesis, 3, comma, 6, right parenthesis and (5,−
    14·1 answer
  • Slope-Intercept Form of 3x – 4y – 16 = 0
    10·2 answers
  • Please helpppp<br> Find h
    11·1 answer
  • Need help wit questions 1,2, and 3
    12·1 answer
  • Please I Dont Have A Lot of Time<br> what is the median, mode, mean, and range
    12·2 answers
  • PLS HELPPP ITS WORTH 20 points!!!!
    7·1 answer
  • Converting between scientific notation and standard form in a real-world situation
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!