8.10 Code Practice Question 3
1 answer:
terms = ["Bandwidth", "Hierarchy", "IPv6", "Software", "Firewall", "Cybersecurity", "Lists", "Program", "Logic",
"Reliability"]
def swap(arr, in1, in2):
w = arr[in1]
arr[in1] = arr[in2]
arr[in2] = w
print(terms)
swap(terms, 5, 1)
swap(terms, 2, 4)
swap(terms, 3, 5)
swap(terms, 5, 6)
swap(terms, 6, 8)
swap(terms, 8, 9)
print(terms)
This is how I interpreted the question. If I need to make any changes, I'll do my best. Hope this helps though.
You might be interested in
Answer:
you have to go to slides and it will say add slide and you click there and you have a slide.
Explanation:
In a file extension, it tells what type of file it is and tells what compiler to run the code.
C. schedule.
Outlook adds your appointment to your schedule folder.
Answer:
Wdym? I could help u
Explanation:
Answer:
number 4
Explanation: