Barathi

Barathi

  • NA
  • 87
  • 7.1k

why this code is returning none at the end it should end up at the la

Mar 12 2021 10:30 AM
def index(l): for i,x in enumerate(l): print(i,x) x=[1,3,5,7,8] print(index(x)) why this code is returning none at the end it should end up at the last element rt.

Answers (11)