Observe the following Python code carefully and obtain the output, which will appear
on the screen after execution of it. [CBSE SQP 2016]
def Findoutput ():
L = "earn"
X = " "
count = 1
for i in L:
if i in ['a', 'e',' i', 'o', 'u']:
x = x + 1. Swapcase ()
else:
if (count % 2 ! = 0):
x = x + str (len (L[:count]))
else:
x = x + 1
count = count + 1
print x
Findoutput ()
Answers
Answered by
1
Answer:
I got it the answer
Explanation:
please mark me as a brain list
Answered by
0
Answer:
the answer will be:
EA3n
hope it help!!!
Similar questions
Hindi,
3 months ago
English,
3 months ago
Environmental Sciences,
3 months ago
English,
6 months ago
Math,
10 months ago
Social Sciences,
10 months ago