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
What are the values of a and b in the figure?
Sergio039 [100]

Answer:

a = <u>76°</u>

b = <u>124°</u>

Step-by-step explanation:

Since the lines are parallel, we can prove that the smaller triangle's missing angle (shares a line with ∠b) is 56°.

180-56=124°

∠b=124°

Now to find Angle A:

180-56-48=

124-48=

76°

∠a=76°

7 0
3 years ago
If x+y=10 and x-y=6 what is this value of x cube - y cube​
Jlenok [28]

Answer:

x cubed minus y cubed is equal to 504

Step-by-step explanation:

First we need to know what the values of x and y are.  We can do this pretty easily, by just solving both equations for x, and equating them to each other:

With the first:

x + y = 10

x = 10 - y

And with the other

x - y = 6

x = 6 + y

Now that we have two definitions of x, we can say that the expressions are equal, and solve for y:

10 - y = 6 + y

10 - 6 = y + y

4 = 2y

y = 2

And now that we know what y is, we can find x:

x = 10 - y

x = 10 - 2

x = 8

So x is equal to eight.  We can check our answer by plugging x into the other equation and seeing if we get the same value for y:

x - y = 6

8 - y = 6

-y = 6 - 8

-y = -2

y = 2

So we know we solved that correctly.

Now if we cube each number, eight cubed is equal to 512, and 2 cubed is equal to 8.  If we subtract the latter from the former we get 504.

so x cubed minus y cubed is equal to 504

7 0
4 years ago
Find the next two !!!
melomori [17]

It's adding 3 and subtracting 2 every time.

This means the next two terms would be +3 and -2 since the last one was -2.

The next term = 4+3=7

The next next term = 7-2=5

5 0
3 years ago
Read 2 more answers
PLEASE HELP WITH THIS QUESTION
Goryan [66]

Answer: C. opposite leg/adjacent leg

Step-by-step explanation: Tangents use opposite over the adjacent side of the angle. You can use "SOH CAH TOA" which can help you with tangents, cosines, and sines. SOH = sine, CAH = cosine, and TOA = tangent. O = Opposite leg, H = Hypotenuse, and A = Adjacent leg.

4 0
3 years ago
Read 2 more answers
Seven times minous eight eaqul
nlexa [21]

Answer:

it should be -56 or -1

Step-by-step explanation:

I think you are trying to say that 7 x -8 -

6 0
4 years ago
Read 2 more answers
Other questions:
  • A new car is purchased for 20300 dollars. The value of the car depreciates at 9.5% per year. What will the value of the car be,
    10·1 answer
  • PLEASE ANSWER ASAP
    11·1 answer
  • ANSWER PLEASEEEE DXXX
    8·1 answer
  • You toss a coin and roll a number cube. find P(heads and an even number )
    5·2 answers
  • Y=-8x - 5<br> y=-4x - 5<br> what is the solution ?
    12·2 answers
  • - 4(x + 2)&lt;-1/2(4x-4)
    9·1 answer
  • CAN SOMEONE PLEASE HELP ME
    8·1 answer
  • Discount A shirt been marked 10% discount $1300 find the actual discount​
    14·2 answers
  • Solve for x x^2 + 6x + 1 = 0
    11·1 answer
  • I dont know how to delete questions please help
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!