M
Q. What is the output of the following program?
def REVERSE(L):
L.reverse()
return(L)
def YKNJS(L):
List = list()
List.extend(REVERSE(L))
print(List)
L = [1, 3.1, 5.31, 7.531]
YKNJS(L)
- Correct Answer - Option(B)
- Views: 134
- Filed under category Python
Discusssion
Login to discuss.