Look at the following function definition: def my_function(x, y): return x[y] a. Write a statement that calls

Question:

Look at the following function definition:

def my_function(x, y):

return x[y]

a. Write a statement that calls this function and uses keyword arguments to pass ‘testing’ into x and 2 into y.

b. What will be printed when the function call executes?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: