enumerate string

Question

Enumerate the string:

s=”I love to learn from The Data Monk”

in progress 0
YashikaKhurana 4 years 1 Answer 711 views Master 0

Answer ( 1 )

  1. obj=enumerate(s)
    print(list(obj))

Leave an answer

Browse
Browse