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
Find the value of x<br> 12<br> 5<br> X
steposvetlana [31]

Answer:

x = 13

Step-by-step explanation:

Note that the side length x is opposite of the right angle, which means that it is the hypotenuse, which will usually be denoted as c.

Set the equation:

a² + b² = c²

let:

a = 5

b = 12

c = x

Plug in the corresponding numbers (& x) to the corresponding variables:

(5)² + (12)² = (x)²

Simplify. First, solve for the power, and then add:

x² = (5²) + (12²)

x² = (5 * 5) + (12 * 12)

x² = 25 + 144

x² =  169

Next, root both sides of the equation:

√x² = √169

x = √169 = √(13 * 13) = 13

x = 13

~

Note the rules, and it should be easier:

30-60-90° = 1 , √3 , 2

45-45-90° = 1 , 1 , √2

Any other measurements use the equation:  a² + b² = c²

5 0
2 years ago
Write an equation of the line with a slope of −1/2 and a y-intercept of 1.
masha68 [24]

Answer:

y=-1/2x+1

Step-by-step explanation:

y=mx+b

5 0
3 years ago
A soccer field has a length of 100 yards and a width of 60 yards. Which equation can you use to find the area of the soccer fiel
snow_tiger [21]

Answer:

60 x 100

Step-by-step explanation:

Since the formula for area of a rectangle is length × width, multiplying the sides will get you the area.

CREDIT TO nilbert

3 0
2 years ago
Read 2 more answers
Which expression is a rational number? A) ( 25 + 25 )2 B) ( 25 + 50 )2 C) ( 50 + 75 )2 D) ( 25 + 72 )2
tigry1 [53]
I believe it's a hope it helps
6 0
3 years ago
List at least three example of racial injustice that king uses as effective support for his claim that African American are not
Effectus [21]
The following are the list of the racial injustice that king uses as effective support for his claim that african american are not free.
#1. He uses word to contrast the racial situation in the country in the past and present to what is expected in the future,
#2 The king shows that there is hope for change in the future
#3. The king uses metaphor. 
6 0
3 years ago
Other questions:
  • What is 13/250 in a decimal
    12·1 answer
  • How many solutions does the equation 4p + 7 = 3 + 4 + 4p have?
    9·1 answer
  • Assume that the following confidence interval for the difference in the mean time​ (in minutes) for male students to complete a
    15·1 answer
  • 3 3/4 + 5/12<br>help me plz lol​
    8·1 answer
  • How far does a bus travel at 2.5 hours at 65mph
    5·2 answers
  • Zach bought a gold necklace originally priced at $50 but on sale for 60% off. After 10% sales tax,
    11·2 answers
  • Can someone check my answers please
    9·2 answers
  • Please help with these! Will give brainliest and 20 points!
    6·1 answer
  • I dont know how to put 2x(x + 5) in expanded form
    7·2 answers
  • 4. Xander pays $8 for 10 skateboard stickers. There is a proportional relationship between the number of stickers Xander buys, x
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!