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.
Answer and Explanation:
//buchi
Var firstNumber=prompt("please enter first number");
Var secondNumber=prompt("please enter second number");
Var thirdNumber=prompt("please enter third number");
Var numberTotal=firstNumber+secondNumber+thirdNumber;
Function calculateNumbers(){
return numberTotal;
return int(numberTotal/3);
return firstNumber*secondNumber*thirdNumber;}
Console.log(calculateNumbers());
You could get a laptop for like 200 that could run well and enough space for stuff.
Answer:
x = int(input("What grade are you in? "))
if (x == 9):
print ("Freshman")
elif (x == 10):
print("Sophomore")
elif (x == 11):
print ("Junior")
elif (x == 12):
print("Senior")
else:
print ("Not in High School")
Explanation:
<span>subnet mask is used to identify the network portion and the host portion of an ip address.</span>