Computer Science, asked by johndehoyos1, 8 months ago

python code edhesive 9.10 question 3:
Instructions
Use the following initializer list, terms:

terms = ["Bandwidth", "Hierarchy", "IPv6", "Software", "Firewall", "Cybersecurity", "Lists", "Program", "Logic", "Reliability"]
Write a sort program to alphabetize the list of computer terms, much like the preceding question. However, this time, define and use a function named swap as part of your solution. The function should take three parameters—the first is the array, and the second and third are the indexes to swap. Print the terms array before and after it is sorted.

Expected Output
['Bandwidth', 'Hierarchy', 'IPv6', 'Software', 'Firewall', 'Cybersecurity', 'Lists', 'Program', 'Logic', 'Reliability']
['Bandwidth', 'Cybersecurity', 'Firewall', 'Hierarchy', 'IPv6', 'Lists', 'Logic', 'Program', 'Reliability', 'Software']

Answers

Answered by simran5583
0

Answer:

I don't know the answer

l am answering this question for points

Similar questions