Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = list(input())
- for i in range(0, len(a)):
- a[i] = a[i].upper() if i%2 else a[i].lower()
- print(''.join(a))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement