Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main(string=None,f=0,cok=[]):
- for x in string.lower():
- f+=1
- if f ==2:
- cok.append(x.upper());f=0
- else:
- cok.append(x)
- return "[*] rEsUlT: %s"%("".join(cok))
- print(main(raw_input("[?] StRiNg: ")))
Advertisement
Add Comment
Please, Sign In to add comment