Quiz Yourself on Functions
Test your knowledge of functions.
Quiz
1
What is being passed to the function fun()
in the following code?
a = 20
lst = [10, 20, 30, 40, 50]
fun(a, lst)
A)
The value stored in a
and the values of the list lst
.
B)
The value stored in a
and the address of the list lst
.
C)
The address of int
a
and the address of list lst
.
D)
The address of int a
and the values of list lst
.
Question 1 of 40 attempted
Get hands-on with 1200+ tech skills courses.