Test Index
CBSE Class 12 Computer Science 2024 Paper Compartment
© examsnet.com
Question : 26 of 35
Marks:
+1,
-0
Predict the output of the Python code given below :
s="India Growing"n = len(s)m=""for i in range (0, n) : if (s[i] >= 'a' and s[i] <= 'm') : m = m + s [i].upper() elif (s[i] >= 'O' and s[i] <= 'z') : m = m +s [i-1] elif (s[i].isupper()): m = m + s[i].lower() else: m = m + '@'print (m)
Go to Question: