What will be the output of the following code
word = "Python Programming"
 n = len(word)
 word1 = word.upper()
 word2 = word.lower() 
converted_word = " "
for i in range(n):
 if i % 2 == 0:
 converted_word += word2[i] 
else: 
converted_word += word1[i] 
print(converted_word)

Posted on by