0
Please explain why this problem occur. Thanks in advance.
we are going to test two lists to see if the second list is the reverse of the first list. we are going to try a method that iterates through each of the values in one direction for the first list and compares them against the values starting from the other direction in the second list. https://code.sololearn.com/c8Au8JDi3Lox/?ref=app
1 Réponse
+ 4
7th line !=
15th line ==
The last else clause belongs to the for loop, not the if statement. That's why the else part doesn't match with if block, for-else statement .