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
Marianna [84]
2 years ago
5

Plssssssssssssss Alexi is writing a program which prompts users to enter their age. Which function should she use?

Engineering
1 answer:
aleksandr82 [10.1K]2 years ago
7 0

Answer:

int()

Explanation:

float() is using decimals, so that can't be it, like float(input( "how much does this cost?"))

print() is used to print something, not a user asking, like print("hello")

string() means like a whole, like string( I am good)

By elimination, int() is correct.

Hope this helps!

You might be interested in
You find an unnamed fluid in the lab we will call Fluid A. Fluid A has a specific gravity of 1.65 and a dynamic viscosity of 210
Naily [24]

Answer:

1.2727 stokes

Explanation:

specific gravity of fluid A = 1.65

Dynamic viscosity = 210 centipoise

<u>Calculate the kinematic viscosity of Fluid A </u>

First step : determine the density of fluid A

Pa = Pw * Specific gravity =  1000 * 1.65 = 1650 kg/m^3

next : convert dynamic viscosity to kg/m-s

210 centipoise = 0.21 kg/m-s

Kinetic viscosity of Fluid A = dynamic viscosity / density of fluid A

                                            = 0.21 / 1650 = 1.2727 * 10^-4 m^2/sec

Convert to stokes = 1.2727 stokes

4 0
3 years ago
Air enters a diffuser operating at steady state at 540°R, 15 lbf/in.2, with a velocity of 600 ft/s, and exits with a velocity of
yKpoI14uk [10]

Answer: Hello the question is incomplete below is the missing part

Question:  determine the temperature, in °R, at the exit

answer:

T2= 569.62°R

Explanation:

T1 = 540°R

V2 = 600 ft/s

V1 = 60 ft/s

h1 = 129.0613  ( value gotten from Ideal gas property-air table )

<em>first step : calculate the value of h2 using the equation below </em>

assuming no work is done ( potential energy is ignored )

h2 = [ h1 + ( V2^2 - V1^2 ) / 2 ] * 1 / 32.2 * 1 / 778

∴ h2 = 136.17 Btu/Ibm

From Table A-17

we will apply interpolation

attached below is the remaining part of the solution

8 0
2 years ago
2. Ackermann's Function is a recursive mathematical algorithm that can be used to test how well a system optimizes its performan
oee [108]

The python program is an implementation of the Ackermann function that a system optimizes its performance of recursion.

As per the question,

Here is an implementation of the Ackermann function in Python:

<em />

<em>def ackermann(m, n):</em>

<em>    if m == 0:</em>

<em>        return n + 1</em>

<em>    elif n == 0:</em>

<em>        return ackermann(m - 1, 1)</em>

<em>    else:</em>

<em>        return ackermann(m - 1, ackermann(m, n - 1))</em>

<em />

<em># get input values for m and n from the user</em>

<em>m = int(input("Enter an integer value for m: "))</em>

<em>n = int(input("Enter an integer value for n: "))</em>

<em />

<em># calculate and print the result of the Ackermann function</em>

<em>result = ackermann(m, n)</em>

<em>print("Ackermann ({},{}) = {}".format(m, n, result))</em>

This implementation follows the logic described in the prompt, using a recursive function to calculate the result of the Ackermann function for the given values of m and n.

To learn more about the Python Program click here:

brainly.com/question/15061326

#SPJ1

<em />

5 0
1 year ago
1. A four-lane freeway (two lanes in each direction) is located on rolling terrain and has 12-ft lanes, no lateral obstructions
otez555 [7]

Answer:

Maximum number of vehicle = 308

Explanation:

See the attached file for the calculation.

6 0
3 years ago
What is the measurement of mass in motion is known as
podryga [215]

Answer:

momentum

Explanation:

Mass - Mass is a measurement of how much matter is in an object. It is usually measured in kilograms. Momentum is equal to the mass times the velocity of an object. Momentum is a measurement of mass in motion

8 0
3 years ago
Other questions:
  • Biologists use a sequence of letters A, C, T, and G to model a genome. A gene isa substring of a genome that starts after a trip
    5·1 answer
  • A soil had a liquid limit of 44, a plastic limit of 21, and a shrinkage limit of 14. In the summer, the in situ water content wa
    14·1 answer
  • technician A says that in any circuit, electrical current takes the path of least resistance. technician B says that while this
    13·1 answer
  • Write a Python program that does the following. Create a string that is a long series of words separated by spaces. The string i
    14·1 answer
  • A simply supported wood roof beam is loaded with single point dead and roof live loads applied at midspan (PD = 400 lb, PLr = 16
    9·1 answer
  • How long should the shafts remain in the furnace to achieve a desired centerline temperature of 800K? 2) Determine the temperatu
    5·1 answer
  • Draw the sequence of BSTs that results when you insert the keys E, A, S, Y, Q, U, E, S, T, I, O, N, in that order into an initia
    10·1 answer
  • What process is used to remove collodal and dissolved organic matter in waste water ​
    10·1 answer
  • 1) Plastics that soften when heated,harden when cooled, and then can be heated and softened many times
    6·1 answer
  • Why is California a good place for engineers to build suspension bridges?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!