Give the output of the following python statements.
L=list("data")
X=""
count = 1 for i in L:
if i in ["a","e","i","o","u"]:
X=X+i.swapcase()
else:
if (count%2) !=0:
X=X+str(len(L[:count]))
else:
X=X+i
count=count+1
print (X)
print (count)
Answers
Answered by
0
Answer:
why don't you give proper indentation?
please format your question and ask again
Similar questions