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
Phoenix [80]
3 years ago
9

Create a for loop that prompts the user to enter 3 different items, then appends them to new items list

Computers and Technology
1 answer:
Lostsunrise [7]3 years ago
6 0

Answer:

new_items = []

for i in range(3):

   item = input("Enter an item: ")

   new_items.append(item)

print(new_items)

Explanation:

*The code is in Python.

Create an empty list called  new_items

Create a for loop that iterates three times. Inside the loop, ask the user to enter an item. Append the item to the new_items using the append method.

When the loop is done, print the new_items

You might be interested in
What are some positive and nevative aspects of technology?
slamgirl [31]

Answer:

Explanation:

Positive:

Enhances Learning.  

Fosters Problem-Solving Skills.  

Develops Future Technological Leaders

Negative:

Diminishes Relationships and Social Skills

Stimulates Health Issues

Reduces Sleep Quality

6 0
3 years ago
What program controls the hardware and software in a computer?
larisa86 [58]
The operating system controls hardware and soft
8 0
4 years ago
Traffic collisions are among the top killers of children in America.
Blababa [14]
Whats the question if its true or false, then true
8 0
3 years ago
Which part of a window lets you see a fileâs contents without opening the file?
Artyom0805 [142]
The preview pane. On the right hand side of the file explorer.
3 0
3 years ago
What is RAM? explain it
Zina [86]
RAM is memory in the computer
3 0
3 years ago
Read 2 more answers
Other questions:
  • Which activity cannot be done on a social networking site?
    12·1 answer
  • The term composite would be used to describe an image that was altered by the Crop tool.
    15·1 answer
  • Running the cpu at a faster speed than the manufacturer recommends is called ________.
    11·1 answer
  • What is the correct process for inserting a blank worksheet in Google sheets
    12·1 answer
  • Which line is not a computer-generated forecast?Which line is not a computer-generated forecast?the black line representing 20th
    12·1 answer
  • Is it possible to make teleportation with a fusion device
    15·1 answer
  • As a general rule, what is the size of a brochure?
    11·1 answer
  • Explain the history of computing device of mechanical era
    7·1 answer
  • The Uniform Electronic Transmission Act (UETA) a. declares that e-signatures are invalid. b. has only been adopted in a handful
    8·1 answer
  • imagine that you are explaining the art of visual comparison to a group of photography students. You are mentoring. What do you
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!