Skip to content

Instantly share code, notes, and snippets.

@kmARC
Created January 17, 2017 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmARC/000ff7bfcad777d20947b1a20e649483 to your computer and use it in GitHub Desktop.
Save kmARC/000ff7bfcad777d20947b1a20e649483 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import sys
def main():
r = ''
for i in sys.argv[1]:
i = str(i)
r += '[' + i.upper() + i.lower() + ']'
print r
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment