18. Find and write the output of the following Python code:
str = '[email protected]
m=""
for i in range(0,len(str)):
if(str[i].isupper():
m=m+str[i].lower()
elif str[i].islower():
m=m+stri) upper
else:
if i%2=30:
m=m+str[i-1]
else:
m=m+""
print(m)
Answers
Answered by
2
The National Council of Educational Research and Training (NCERT) is an autonomous organisation of the Government of India which was established in 1961 as a literary, scientific and charitable Society under the Societies' Registration Act (Act XXI of 1860).
Established: 1961
Director: Dr. Hrushikesh Senapaty
President: Ramesh Pokhriyal (Minister of Education)
Similar questions