Quiz Yourself on Functions
Test your knowledge of functions.
We'll cover the following...
We'll cover the following...
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
.
1 / 4