Saved Bookmarks
| 1. |
Observe the following Python code carefully and obtain the output, which will appear on the screen after execution of it.def Findoutput ():L = "earn"X = ""L1 = []count = 1for 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+icount = count+1print xFindoutput() |
|
Answer» The output is: EA3n |
|