enumerate string

Question

Enumerate the string:

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

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

Answer ( 1 )

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

Leave an answer

Browse
Browse