Not sure what’s wrong in the solution?
https://ide.codingblocks.com/s/72129
working fine in my jupyter
Not sure what’s wrong in the solution?
https://ide.codingblocks.com/s/72129
working fine in my jupyter
for i in x:
m=i[0]
n=i[1]
in this i is an single integer iterating over list x and here u are trying to iterate over an integer that why giving error