enumerate string initial iterator

Question

Enumerate “I speak Python.”

Set initial iterator to 1.

in progress 0
YashikaKhurana 55 years 1 Answer 743 views Master 0

Answer ( 1 )

  1. ob=enumerate(s,1)
    print(list(ob))

Leave an answer

Browse
Browse