Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is a built-in function? Give an example.
Think of the functions that you can use without defining them.
What keyword do we use to define our own functions?
It's the first part of creating a function.
Which of the following is a built-in function in Python?
Consider functions that are already part of Python.
True or False: User-defined functions must be declared using the keyword 'def'.
Remember how we create functions in Python.
Design a user-defined function that takes a list of numbers and returns the largest number from that list.
Think about built-in functions that can assist you!
Write a function that accepts two strings and checks if they are anagrams of each other.
Consider how to manipulate and compare strings to fulfill the condition.
4 more questions in this section. Enroll free to practise them all.
Enroll free