Computer Science, asked by khurshedhacker6460, 8 months ago

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. To complete this problem you should have written two different for loops, each of which iterates over the list several_things, but each of those 2 for loops should have a different result.

Answers

Answered by ayeshaukaye04
10

Answer:

Explanation:

for i in several_things: # for printing each element

print(i)

for i in several_things:

print(type(i)) #for printing type of each element

Answered by pinnamareddysushma
0

Answer:

several_things = ["hello", 2, 4, 6.0, 7.5, 234352354, "the end", "", 99]

for items in several_things: # to print items in the list several_ things

   print(items)

for items in several_things:

   print(type(items)) # to print the type of the elements in the list

Explanation:

Similar questions