Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is the purpose of the zip() function in Python?
Think about how you would pair elements from two lists.
How do you find the mean of a dataset using NumPy?
Mean is the average value.
What is the output of np.mean([10, 20, 30])?
Think about how averages are calculated.
True or False: The mode is the middle number in a sorted data set.
Consider the definitions of mean, median, and mode.
You have two lists of temperatures in degrees Celsius and Fahrenheit. Write a program to convert Celsius to Fahrenheit using a loop and print the results.
Remember the formula for conversion!
Using a dataset of exam scores, write a program that calculates and prints the mean, median, and mode of the scores. Provide a suitable dataset.
Consider how many numbers you have and their frequency.
6 more questions in this section. Enroll free to practise them all.
Enroll free