5.4.7 Teenagers Code HS

Can someone help me with this? i currently have

if (age = 13){
println("Yes, you are a teenager.");
}else{
if (age <= 19){
println ("No, you are not a teenager.");
}

and anytime I type anything it always says yes so I'm confused.​

5.4.7 Teenagers Code HSCan Someone Help Me With This? I Currently Have If (age = 13){println("Yes, You

Answers

Answer 1

Answer:

var teen = readInt("Are you a teen, if so what is your age? " );

if(teen >= 13 &&(teen < 19)){

    println("Yes, you are a teenager.");

}else{

      println("No, you are not a teenager.");  

}

Explanation:

Hopefully this helps you :)

Answer 2

x = int ( input("what is your age ? "))

if x >= 13 and x <= 19:

       print("yes you are a teenager")

else:

        print("No, you are not a teenager")

The variable x is used to store the user input. it prompts the user to input his/her age.

The if/else statement is used to check if the user is a teenager or not. If the user's age is between 13 and 19, both inclusive the use will get a message "yes you are a teenager " and if otherwise the user will gets a message "No, you are not a teenager"

The bolded word in the codes are key words in python. Pay attention to indentation.

read more: https://brainly.com/question/12089897?referrer=searchResults


Related Questions

Which of the following is not a good file-management practice?

A. Create descriptive names for folders and files.
B. Store all of the data files at the top level of the drive to make them easier to find.
C. Remove folders and files when they are no longer needed.
D. Make enough subfolders so that the files in any one folder are readably visible.

Answers

Answer:

B, Store all of the data files at the top level of the drive to make them easier to find.

Explanation:

Your files will be unorganized, and it will actually do the opposite of what you want it to.

Hope this helps!

The following is not a good file-management practice Store all of the data files at the top level of the drive to make them easier to find. Thus the correct option is B.

What is file management?

File management is referred to as a systematic technique that allows an individual to store their valuable data and information in the forms of files and documents in an organised manner to retrieve it properly.

File management is crucial since it keeps the files of an individual orderly. It could make it simpler for them to locate files when they need to utilize them. It is crucial for organizations since it makes it simpler for them to share folders with their staff or customers.

File management allows an individual to store their information with descriptive names for easy access and remove files that are not required.

It also enables to make of subfolders so that the files belonging to separate departments or folders are visible to the reader without creating any kiosk.

Therefore, option B is appropriate.

Learn more about File management, here:

https://brainly.com/question/12736385

#SPJ6

What are some reasons a person might choose to remain anonymous on the Internet?

Answers

Answer:

There would be a lot for reasons, to get out of their real world as maybe they are getting abused, hurt, bullied and many other reasons. Also, people don't like their identity so they try cover themselves up too. Another reason is because they would be able to do and say anything without having problems and consequences.

Explanation:

1) People are afraid of self revelation to people they don’t know.

2) They are afraid of showing strangers what they really feel and their own lack of knowledge.

3) They fear that someone, who takes offense at what they say could do, or say, “something” to hurt them or their families

Etc...

meaning of page break​

Answers

Answer:

a point at which a price of continuous text is split into two pages

Explanation:

for ex: a page break is treated as a single character in the document.

HELP ME PLEASE!!!!!!!!!!!!
Which of these is not the correct method for moving text in a document in Word 2016?
A. Select the text, press Ctrl+C, move the insertion point to desired location, and press Ctrl+V.
B. Select the text, right-click on the text and select "Cut," move the insertion point to the desired location, and press Ctrl+V.
C. Select the text, click the Cut button, move the insertion point to the desired location, and click the Paste button.
D. All the above statements are correct.

Answers

Answer:

b b isss the right answer

Answer:B

Explanation:I have been using word for a while. Your Welcome. Hope it helped!

binary digits can include the numbers 0 1 and 2 only
True or false?

Answers

Answer:

False

Explanation:

binary numeral system, which uses only two symbols: typically "0" (zero) and "1" (one).

Answer:

false because i had this question


If Digital Assistants are free to use why companies do spend millions of dollars to develop and support them?

Answers

Explanation:

Digital Assistants are usually advanced computer programs that help companies manage their conversations with their customers as well as carrying out certain tasks. For example, they may be used to assist in customer service support.

Companies do spend millions of dollars to develop and support them because these softwares often require expensive hardware components such as large server computers, and also require hiring those with specialized knowledge to use this computer hardware and who can design these advanced computer programs.

The body of the letter should state why you are writing the letter.
True
False

Answers

Answer:

True

Explanation:

Which THREE devices can perform both input and output operations?
router
webcam
network interface card
touchscreen
speakers

Answers

Answer:

I got one wrong but router and network interface card is correct plato

The three devices which are able able to perform both input and output operations among the answer choices are: Router, Network Interface card and Touchscreen.

What are Input and Output Devices?

An input device is a device which one connects to a computer that sends information into the computer. An output device is a device which one connects to a computer that has information sent to it.

The three devices that can provide both input and output operations are:

1. Router

2. Network Interface Card

3. Touchscreen

These three devices can provide both input and output operations.

Read more on Input and Output Devices:

https://brainly.com/question/18591190

will a debit card still work if i put stickers on it?

Answers

The plastic covering should not interfere with the mag stripe. In fact, cashiers have been known to use plastic (How Does a Plastic Bag Fix a Buggy Credit Card?) to fix finicky cards.

BUT, you technically cannot cover the signature. While it will still scan, if the cashier cannot see your signature and the CVV number on the back without obstruction, they may not be willing/able to take the card. Yes, it may still be readable, but if they refuse to take it you have no ground to stand on. (If you obscure the signature, at least make sure the CVV is readable or reprinted on top.)

can i get my account back if i disabled it on wattpad?

Answers

Answer:

i do not think so

Explanation:

Umm see if you just deactivated it or maybe Try logging in again to see if it reactivates

What is online school like 6 sentences

Answers

Answer: (Just know my parents chose me to do online school)

Online is school very hard because the teacher instructions are not very clear to understand. Most classes are fun and easy to understand but other are classes are hard. Most of the time I listen and focus. The other part of the time I zone out but still listen. The work they leave isn't well explained sometimes so, I mostly do what I think is easier.

The major difference between a template and another document is in _____.

a) the formatting
b) the file size
c) how it is saved
d) how it is distributed

Answers

Answer:

I think that how its saved

Which of the following hardware components is responsible for retrieving and decoding instructions?

Answers

Answer:

the cpu

Explanation:

:)

Answer:

I believe it's the C.P.U

Explanation:

I'm not sure.

Atieno is a musician who records music on her computer. Which devices do you think she would need the most?

Answers

Answer:

Midi Synthesizer, Mic,Boom Mic, Laptop

Explanation:

At the end of the day a keyboard and a pc is all you need as the keyboard alone can cover nearly any instrument.

Answer:

speaker and microphone

Explanation:

speaker to hear her music and microphone to record

Which would be an example of a target group?

A.) People who live far away from one another

B.) People who do not have access to media

C.) People who are from varying age groups

D.) People who watch the same TV shows

Answers

D would be an example of a target group
D because it means that The primary group of people that something, usually an advertising campaign, is designed to appeal to.

When weather balloons descend to earth, they often drift hundreds of miles away from their launch site. What kind of impact does this have?

Answers

Answer:

the weather balloons will then descend at a slower rate

Explanation:

Which of the following is most likely to occur if a special effects artist holds up production on a feature film because he is not satisfied with the “look” of the work?

A. The artist will be offered future contracts.
B. The artist will not be offered future contracts.
C. The artist will earn the respect of his colleagues.
D. The artist will be fired.

Answers

It definitely B I say because what if he made the film worse than it is.

Please help!! Thank you!

Answers

Answer:

D

Explanation:

Answer: D



Explanation: easiest question ever

Select the correct answer.
Lucas has set up a wireless network at his home. He has encoded the Wi-Fi signals. Unauthorized users do not have the key to decode the signal and thus Lucas’s connection is secured. Which security method has Lucas employed?
A. hiding the SSID
B. reducing the signal
C. encryption
D. prohibiting guest access

Answers

Answer:

D.probihiting guest acess

Answer:

The answer is "e" - encryption; process where a user can encode Wi-Fi signals. Only the authorized users have the decryption key.

Explanation:

Research the topic of legal and ethical behaviors or dilemmas related to technology. Identify five topics of concern and briefly explain them (1-3 sentences each).

Answers

Answer:

if you push alt and f4 at the same time it will automatically put the right answer.

Explanation:

TRUE OR FALSE: th is used to create table titles.

Answers

Answer:

False

Explanation:

The answer is false!

When was the Ethics Resource Center (ERC) established? In the 1970s In the 1980s In the 1990s In the 2000s

help i need the answer asap!!!!!!1

Answers

Answer:

1922

Explanation:

i looked it up When was the Ethics Resource Center (ERC) established?

Help! I was doing my hw and I took a break and let my screen time out after like 10-15 minutes I turned it back on it showed this screen. I’ve broken so many things already and I have class tomorrow and all my stuff is on this computer I can’t I just can’t lose this computer so please help. I’ve tried powering it off, control-alt-and delete, and moving my mouse around but I can’t nothing pops up not even my curser so can all the computer smart people help me please I’m begging you!

Answers

Answer:

It looks like something got damaged or something with the operating system.

Explanation:

You should probably contact where you got the chromebook from and request a new one and have a tech at your school look into it. If its from school.

6. Write a Python program that should perform the following four tasks:
(i) After getting a word (of input) from the user, your program should use a
while (or for) loop to print out each of the letters of the word. Just remember
that strings in Python start with element !​

Answers

word = input("Enter your word ")

i = 0

while i < len(word):

   print(word[i])

   i += 1

Which is a common problem for inserting pictures into placeholders?

Answers

Answer:

the resolution isnt high enough

Explanation:

___________is used to extract information from a database?

a) Validation
b) Data type
c) Record
d) Query

Answers

thee answer is thy letter A

Answer: b

Explanation:

i believe it is the answer b Data type

Which of the following Internet access methods involves connecting your phone to an Internet-ready laptop in order to gain access?
1.Mobile broadband
2.Wi-Fi hotspot
3.Tethering
4.Cybercafé

Answers

Answer:

C

Explanation:

Tethering is connecting a cellular phone to another device typically a laptop or tablet (in this case it would be a laptop).

a computer has power, but there are no beeps and the computer does not boot. which of the following would be the MOST LIKELY cause?

a. no operating system installed
b. CPU failure
c. outdated bios
d. hard drive failure
HELP!!

Answers

Answer:

CPU failure

Explanation:

CPU is what runs the computer which if the CPU is broken the computer will not start

A computer has power, but there are no beeps and the computer does not boot. The most likely cause is CPU failure. Thus the correct option is B.

What is Computer?

A computer is an electronic device used to perform arithmetic and logical operations within seconds accurately without causing any error and make ease people's life.

A CPU is referred to as the central processing unit of a computer which plays a significant role in its functions and operations. It helps to convert the data by processing it into output for humans.

When the computer has power but there is no beep its means that there is a problem in the power supply unit which reflects a disruption in the power supply and causes the failure of the CPU.

Therefore, option B  CPU failure is appropriate.

Learn more about CPU, here:

https://brainly.com/question/16254036

#SPJ6

definition statement should include

Answers

Answer:c

Explanation:

What is a command-line program?

A) text interface
B) direct interface
C) administrator interface
D) graphical interface

Answers

A, I think.....


Explanation:
Answer: D (80%)



Explanation: it a thing to do with coding
Other Questions
Simplify the inequality by dividing by the GCF so the leading coefficient is positive. how does soil texture effect water movement Who was the intended audience for Langes photograph? Check all that apply.photographers and clerk-stenographersRebecca Makselthe general public the US governmentthe woman pictured, Florence Owens Thompsonanswer is C and D Your teacher has given you a sample of soil to examine. Would you use a dry mount or a wet mount to examine it? Explain your reasoning. el programa Las cuatro amigas (11:30 a.m.) BRUH NO ONE EVER ANSWERS MY QUESTONS UNTIL A MONTH OR WEEKS LATER WHEN I DONT NEED IT3u^2+v=69 which values of u and v make it trueA. u=-5 and v=-7B. u=5 and v=7C. u=-5 and v=6D. u=-5 and v=-6 Why is Monday so far from Friday, and Friday so close to Monday A company understated its ending inventory balance by $4,000 in 2021. What impact will this error have on cost of goods sold and gross profit in 2021 and 2022? Which part of the male reproductive system is at particular risk after middle age? (1O urethravas deferensO prostateO epididymis HELP NEEDED ASAP! Brainliest to whoever can explain and give me the answers!Question:It is a gorgeous fall day, and people are enjoying it by bicycling, hiking, and picnicking at Itasca State Park. The day's mood changes, however, when you receive a phone call from the local sheriff's office asking your forensic anthropology team to come out to the state park."A hiker found some bones near Lake Itasca and wants us to come out and identify them. We're wondering if these are the three brothers who disappeared last summer. Can you help us?"You tell them that you'll be there as soon as possible and quickly place a few calls to other members of your forensic team. You load your SUV and drive over to Itasca State Park to meet your colleagues and investigate the situation.The sheriff's officers and the hiker lead you to the scene. By the time you arrive, there is only half an hour of daylight remaining. In the somewhat secluded glade of trees, you see scattered bones. While the sheriff's officers hurriedly photograph the scene, you map the bone scatter and determine that the bones are human. One of your team members compiles a preliminary inventory as you collect each bone:3 skulls6 femora4 hip bones (os coxa)2 humeri2 tibiae5 scapulaeRefer as needed to this handout entitled "Human Skeletal Elements" for the locations of these bones in the human skeleton.The next morning, your team returns to work in the laboratory, where you get a call from the sheriff. The family of the three missing boys is pressuring him for information. Your team begins the final osteological exam. After careful examination, you produce your final inventory. You are working with the same number of bones, but you now have determined which side of the body they came from (when applicable).You have:3 skulls6 femora (4 right and 2 left)4 hip bones (1 right and 3 left)2 humeri (right)2 tibiae (left)5 scapulae (3 right and 2 left)Assignment:1. How many bones are in the collection? (This number is called the NISP- Number of Identified Specimens.)2. Which of the bones in the collection belong to the axial skeleton? Which belong to the appendicular skeleton?3. What is the maximum number of individuals who could be represented by these bones? Explain your answer. (Hint: Assume every bone in the collection could be from a different person.)4. The MNI is the Minimum Number of Individualsthe lowest number of individuals needed to account for the bones present. Print out this Bone Collection Worksheet to help you calculate the MNI. It contains all the bones in the collection: 3 skulls, 6 femora, 4 os coxae, 2 humeri, 2 tibiae, and 5 scapulae. How many skeletons can you make from the bones in the worksheet? Recreate the skeletons and submit a picture of your skeletons to your instructor with each of the bones labeled. (Helpful Hint: Multiple bones of the same type can belong to the same individual. For example, one person has two femur bones, one on the right and one on the left.)5. Why do you think the MNI is important when working in a scenario like this?6. What do you tell the sheriff? The introduction of clipper ships and steamboats brought about major changes in transportation. Explain these changes, using at least two details to explain. Describe the biological needs for cells to be surrounded by a membrane that is selectively permeable for different materials. Need helpppppp! Plzzzzz One method for getting rid of a skinwalker who is stalkingyour forest and village is to figure out their name and say itout loud.True or False? which statement is false hey i am from india .. Can I get an answer please? pleaseeeeee helpppppp True or False: Decomposers replenish nutrients into the "abiotic" phase of a nutrient cycle. URGENT!!! i need help with Spanish !