3 Questions
Which function can be used to find the smallest number from a given list of numbers?
min()
Which function can be used to find the largest number from a given list of numbers?
max()
Which function can be used to calculate the sum of all the numbers in a given list?
sum()
Study Notes
Functions for List Operations
- The
min()
function can be used to find the smallest number from a given list of numbers. - The
max()
function can be used to find the largest number from a given list of numbers. - The
sum()
function can be used to calculate the sum of all the numbers in a given list.
Find the Smallest Number: Test your knowledge on using functions to find the smallest number from a given list of numbers [ 23, 56, 13, 88 ].
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free