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
Morgarella [4.7K]
3 years ago
5

Write one for loop to print out each element of the list several things. then write another for loop

Computers and Technology
1 answer:
Kay [80]3 years ago
6 0

Question:

Write one for loop to print out each element of the list several_things. Then, write another for loop to print out the TYPE of each element of the list several_things.

Answer:

The solution in python is as follows:

for element in several_things:

    print(element)

   

for element in several_things:

    print(type(element))

Explanation:

The solution assumes that the list several_things has already been initialized.

So, the rest of the code is explained as follows:

This line iterates through the list, several_things

for element in several_things:

This line prints each element

    print(element)

This line iterates through the list, several_things for the second time    

for element in several_things:

This line prints the type of each element

    print(type(element))

You might be interested in
Jasmine wants electrical current to be able to pass through a certain switch on a circuit board that she is designing. What stat
Alenkinab [10]
State 1 I don’t know if it’s right tho
3 0
2 years ago
What are acenders? What are decenders?
Arte-miy333 [17]

Answer:

Explanation:

An ascender is the part of a lowercase letter that extends above the mean line of a font, or x-height

The descender is the part that appears below the baseline of a font.

8 0
3 years ago
Read 2 more answers
True or false scientists investigate and seek to explain the natural world
weqwewe [10]
<h2>True</h2>

<h3>Reason;</h3>

We have got so many discoveries just bcoz of this investigation by scientists.

7 0
3 years ago
True or false = the order of cannot be changed in slide shorter view ,true or false =menu bar is located just below the title ba
DIA [1.3K]

Answer:

True or false = the order of cannot be changed in slide shorter view ,true or false =menu bar is located just below the title bar plz solve thisss

3 0
3 years ago
Read 2 more answers
The first row in a table is referred to as the _____ row and the last row is considered the _____ row.
Juliette [100K]

the first row in a table is classed as the header row.

and with the last one I'm not sure because as far as I know there's not considered a last row.

6 0
3 years ago
Other questions:
  • Holly would like to run an annual major disaster recovery test that is as thorough and realistic as possible. She also wants to
    5·1 answer
  • What is a bug?
    11·2 answers
  • When adding a background to a Web page, it can be _____. a. a solid color b. a fill effect c. an image d. all of the above
    12·1 answer
  • Provide the instruction type, assembly language instruction, and binary representation of instruction described by the following
    7·1 answer
  • Technician A says that S-cams can be left or right handed. Technician B says that S-cam foundation brakes can have one or two an
    15·1 answer
  • Unless grunkle stan pines is mistaken, there is a family of deer’s in his garden
    6·1 answer
  • PAGE<br>DATE<br>0 What types of information should be there internet?​
    5·1 answer
  • In Python what are the values passed into functions as input called?
    13·1 answer
  • How do you give brianliest
    13·1 answer
  • Which of the following is NOT a function of a Web Browser?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!