Minimize any apps/webpages on it you have open (your background has to be visible), left click with the mouse, hit Personalize, and it should have Backgrounds on the page if you scroll down. You can hit Browse to look through your files on the desktop for what you want.
Answer:
Explanation:
#Using python to create the list
#first we create an empty list to store our numbers.
import math
data = []
x = 0
InputSum = 0
NumInput=int(input("how many number do you want to add"))
while x <=(NumInput):
Input=int(input("Enter the numbers here"))
data.append(Input)
x = x+1
InputSum = InputSum + Input #this is to add the numbers entered
print("The number you entered are ")
print(*data) #this print the numbers entered
print("The sum of the numbers is", InputSum)
Answer:
There are two ways to find the average of a list of numbers in Python. You can divide the sum() by the len() of a list of numbers to find the average. Or, you can find the average of a list using the Python mean() function
Explanation:
Answer:
Webcasts
Explanation:
The rest of the options don't need to be streamed as there isn't a continuous flow of information.
Answer:
This code will print: 4
Explanation:
Following is the step-by-step explanation for the given code:
- Given is the array of data type double named myList, it has entries, 1, 5, 5, 5,5, 1:
double[] myList = {1, 5, 5, 5, 5, 1};
- Now the first element of the array (1) with index 0 will be stored in the variable max (data type double).
double max = myList[0];
- A variable indexOfMax having datatype int will be initiated as 0.
int indexOfMax = 0;
- Now for loop will be used to find the maximum number of the array. The variable i will be put as index for each element to compare with first element. If the checked element is greater than or equal to the integer in max, it will be replaced. So at the end the variable max will have value 5 that will be at index i = 4.
for (int i = 1; i < myList.length; i++)
{ if (myList[i] >= max)
{ max = myList[i];
- Now the variable i that is the index for max value will be stored in the variable indexOfMax (indexOfMax = 4).
indexOfMax = i; }}
- At end the value stored in variable indexOfMax will be printed, so 4 will be printed as output.
System.out.println(indexOfMax);
i hope it will help you!