Given the code fragment:
What is the result?
Given the code fragment:
What is the result?
The code defines a list of integers, `li`, containing the values 10, 20, and 30. It then defines a Function `fn` that takes an integer `f1` and returns `f1 + f1`, essentially doubling the value. It also defines a Consumer `conVal` that takes an integer `s` and prints
Answer is A. Tested
A is correct
A is the answer
A is correct.