AlexG2230954

Untitled

May 14th, 2022 (edited)
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. inp_str = input().lower()
  2. s = ""
  3.  
  4. for i, symb in enumerate(inp_str):
  5.     s += symb.upper() if i % 2 == 0 else symb
  6.    
  7. print(s)
Add Comment
Please, Sign In to add comment