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
natali 33 [55]
3 years ago
6

Does anybody know 5.4.7: Teenagers CodeHs. Please help I am stuck in this

Mathematics
1 answer:
Anit [1.1K]3 years ago
7 0

Answer:

The program in Python is as follows:

age = int(input("Age: "))

if age>=13 and age <=19:

   print("Teenager")

else:

   print("Not a teenager")

Step-by-step explanation:

This gets input for age

age = int(input("Age: "))

This checks if age is between 13 and 19 (inclusive)

if age>=13 and age <=19:

If yes, the age is teenage

   print("Teenager")

If otherwise, the age is not teenage

else:

   print("Not a teenager")

You might be interested in
Solve 4(2x-3)=6x+2<br> I don't understand the steps pls
Marysya12 [62]

Answer: x = 7

Step-by-step explanation:

4(2x-3) = 6x+2   <--distribute the 4

8x - 12 = 6x + 2   <---add 12 to both sides

8x = 6x + 14    <--- subrtract 6x from both sides

2x = 14    <--- divide by two

x = 7

6 0
3 years ago
How do you get from 24 to a hundred
Tasya [4]
The easiest way would be adding 76
7 0
2 years ago
A collection of five coins has a value of $1 and consists of dimes and
DENIUS [597]

For this case we propose a system of equations. We have to:

x: Let the variable that represents the number of dimes

y: Let the variable that represents the number of quaters

We know that:

One dime equals 10 cents, $0.10

A quater equals 0.25 cents, $0.25

According to the statement we have:

x + y = 5\\0.10x + 0.25y = 1

We multiply the first equation by -0.10:

-0.10x-0.10y = -0.5

We have the following equivalent system:

-0.10x-0.10y = -0.5\\0.10x + 0.25y = 1

We add the equations:

-0.10x + 0.10x-010y + 0.25y = -0.5 + 1\\0.15y = 0.5\\y = \frac {0.5}{0.15}\\y = 3.33

Approximately 3 quater coins

x = 5-y = 5-3 = 2

And two dimes

Answer:

3 quater

2 dimes

4 0
3 years ago
5 + 4x + 6 - 2x<br> explain how you would do it
Alona [7]

Answer:

11+2x

Step-by-step explanation:

5+6=11

4x-2x=2x

8 0
3 years ago
Read 2 more answers
Chose the correct equation type for each system WILL MARK BRAINLIEST!!!!!!!!!
vichka [17]
Graph? heidgdisdvhdhdhdvd
6 0
3 years ago
Other questions:
  • Can u plz help me with this question
    13·2 answers
  • Please help me! I don't understand this question at all
    13·1 answer
  • -3/8r + 41 = -22 solve for r
    10·2 answers
  • What is -(2 a + 2 b) + (4 a +4 b​
    13·2 answers
  • Please help!!!!!!!!!!!!!!!
    7·2 answers
  • Solve for x.<br> 30<br> 20<br> X-2<br> X
    15·1 answer
  • Which transformation gives the same result as a rotation of 180° around the origin
    14·2 answers
  • £140 is divided between Angad, Nick &amp; June so that Angad gets twice as much as Nick, and Nick gets three times as much as Ju
    9·1 answer
  • Find the length of Arc YWV, if line XZ=12 meters. (Round to the nearest hundredth)
    7·1 answer
  • Solve –9.4 Greater-than-or-equal-to 1.7x + 4.2.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!