Computer Science, asked by viditupadhyay07, 8 months ago

I.d) Rewrite the following code in python after removing all syntax errors .Underline each
corrections done in the code: [2]
30=to
for k in range(0,to)
if k%4==0:
Print(k*4)
else:
Print(k+3)
I.e) Find the output of the following python code: [3]
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].isalpha():
m=m+s[i]+upper()
else:
m=m+’bb’
print(m)
fun(‘school2@com’)

Answers

Answered by santoshpawar16677
0

Answer:

Rudy was the one that are in a good mood and he is not a big deal but I am a few years older and I have eighth year in high school and fifth in school 3AM

Similar questions