why this code is returning none at the end it should end up at the la
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.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Mar 12, 2021, 11:17 AM
BarathiPosted Mar 12, 2021, 11:19 AM
BarathiPosted Mar 12, 2021, 11:16 AM
Rajanikant HawaldarPosted Mar 12, 2021, 11:10 AM
BarathiPosted Mar 12, 2021, 11:10 AM
Rajanikant HawaldarPosted Mar 12, 2021, 11:07 AM
BarathiPosted Mar 12, 2021, 11:02 AM
Rajanikant HawaldarPosted Mar 12, 2021, 11:01 AM
BarathiPosted Mar 12, 2021, 10:59 AM
Rajanikant HawaldarPosted Mar 12, 2021, 10:55 AM
BarathiPosted Mar 12, 2021, 10:54 AM