Advertisement
Oppaceted

Untitled

Feb 9th, 2023
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. a = list(input())
  2. for i in range(0, len(a)):
  3.     a[i] = a[i].upper() if i%2 else a[i].lower()
  4. print(''.join(a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement