Answer:
Explanation:
The following code is written in Python. It creates a for loop that iterates 10 times, asking the user for a number every time. It then checks if the number is inside the numArray. If it is not, then it adds it to the array, if it is then it skips to the next iteration. Finally, it prints the number of distinct numbers and the list of numbers.
numArray = []
for x in range(10):
num = input("Enter a number")
if int(num) not in numArray:
numArray.append(int(num))
print("Number of Distince: " + str(len(numArray)))
for num in numArray:
print(str(num), end = " ")
Answer:
The complete program is:
cell_count = int(input())
cell_count = cell_count * 10
print(cell_count)
Explanation:
This line gets input for cell_count
cell_count = int(input())
This line multiplies cell_count by 10
cell_count = cell_count * 10
This prints the updated value of cell_count
print(cell_count)
Answer:
please give me brainlist and follow
Explanation:
Qualitative data describes qualities or characteristics. It is collected using questionnaires, interviews, or observation, and frequently appears in narrative form. For example, it could be notes taken during a focus group on the quality of the food at Cafe Mac, or responses from an open-ended questionnaire.
Answer:
The answer to these questions can be defined as below:
Explanation:
Question 1:
In the best case big-oh the bubble and selection sort is used, where bubble style simply swaps the items, whereas the sort of sorting takes place by choosing the element.
Question 2:
In the worst case, the merge and selection is used, where Merge-sort splits the list into two sub-lists equally and incessantly names itself in the sublists to still be sorted, whereas Heap-sort is an anti-recursive type.
Question 3:
In the worst case of swapping the bubble sort algorithm is used.
Question 4:
In sorts of swap selection, bubble, and quick sort is used.
Question 5:
Insertion sorts provide the shift sorts.
Question 6:
The best big-oh is o(n), in the worst case, best case complexity of different sorts are different.
Answer:
D.Mean
Explanation:
average function find mean of the functions