def fun(s):
k=len(s)
m=""
for i in range(0,k):
if(s[i].isupper()):
m=m+s[i].lower()
elif s[i].islower():
m=m+s[i].upper()
else:
if i%2==0:
m=m+s[i-1]
else:
m=m+'#'
print(m)
fun('[email protected]')
pls find its output explain to me how it comes
Answers
Answered by
0
im. a bio student dude....
Answered by
0
Answer:
There is some mistake in the steps, output will be error friend !
Similar questions