LOoLzeC

LoMeMeK.py

May 25th, 2019
693
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. def main(string=None,f=0,cok=[]):
  2.     for x in string.lower():
  3.         f+=1
  4.         if f ==2:
  5.             cok.append(x.upper());f=0
  6.         else:
  7.             cok.append(x)
  8.     return "[*] rEsUlT: %s"%("".join(cok))
  9.    
  10. print(main(raw_input("[?] StRiNg: ")))
Advertisement
Add Comment
Please, Sign In to add comment