Barathi

Barathi

  • 1.9k
  • 84
  • 1.7k

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 endit should end up at the last element rt.

Answers (11)