Q. What will the following code result in?


L1 = [1, 3, 5, 7, 9]

print (L1 == L1.reverse())

print (L1)


Answer =

Result is: -

False
[9, 7, 5, 3, 1]

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post