209k views
0 votes
W = ["Algorithm", "Logic", "Filter", "Software", "Network", "Parameters", "Analyze", "Algorithm", "Functionality", "Viruses"]

Write a loop that prints the words in uppercase letters.

Sample Run:

1. ALGORITHM
2. LOGIC
3. FILTER
4. SOFTWARE
5. NETWORK
6. PARAMETERS
7. ANALYZE
8. ALGORITHM
9. FUNCTIONALITY
10. VIRUSES

1 Answer

5 votes

Final answer:

To print the words in uppercase letters, you can use a for loop in Python.

Step-by-step explanation:

The correct answer is option Computers and Technology. To print the words in uppercase letters, you can use a for loop in Python. Here is an example:

w = ["Algorithm", "Logic", "Filter", "Software", "Network", "Parameters", "Analyze", "Algorithm", "Functionality", "Viruses"]
for word in w:
print(word.upper())

This loop will iterate through each word in the list w and print its uppercase version using the upper() method.

User Praveer Gupta
by
8.1k points