Computer Science, asked by bhagya2282, 2 months ago

def printstring(s):

L=len(s)

s1=""

for i in range(L):

if s[i].isupper():

s1=s1+s[i].lower()

elif s[i].isalpha():

s1=s1+s[i].upper()

elif s[i].isdigit():

continue

else:

s1=s1+"$$"

print(s1)

printstring("Exam21@Com")​

Answers

Answered by Aryansingh001
3

Answer:

Explanation:

First correct ur program  (•ˋ _ ˊ•)

Attachments:
Similar questions