Skip to content

Instantly share code, notes, and snippets.

View Sshashank0743's full-sized avatar
🏢
Working from office

shashank shukla Sshashank0743

🏢
Working from office
View GitHub Profile
# 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.
several_things = ["hello", 2, 4, 6.0, 7.5, 234352354, "the end", "", 99]
for i in range(len(several_things)):
print(several_things[i])