130k views
2 votes
Consider the following list:

stuff = ["DOG", "CAT", "FROG", "zEbrA", "BAT", "PIg", "mongoose"]
for i in range (len (stuff)):
print (.
To print the words in the lists in all LOWERCASE, you would replace the
with:


stuff.lower[i]

stuff.lower(i)

stuff[i].lower()

ower(stuff)

1 Answer

3 votes

Answer:

Answer is:

stuff[i].lower()

Step-by-step explanation:

This is because stuff[i] refers to the element at index i in the list, and .lower() is a built-in string method that returns a lowercase version of the string. By using this combination of indexing and string methods, we can convert each element in the list to lowercase as we iterate over it using the for loop.

User Rosterloh
by
7.8k points