Computer Science, asked by abhisang, 4 months ago

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]')

Answers

Answered by balramsingh130707
0

Answer:

d6po6d6odo6odyofypfydoyodyotxxkttxkxktxkttxkyxkcylclyktdoy oysotdhcktydkhnf kgxkgxktxtl

Similar questions