Created
March 1, 2015 04:26
-
-
Save heyjordn/861720bd951b7e60767d to your computer and use it in GitHub Desktop.
Used mainly for formatting input on Hackerrank.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Input Script template | |
def inputScript(): | |
A = [] | |
strng = input() | |
#trims whitespace | |
trimmed = strng.replace(" ", "") | |
ind = list(map(int, trimmed)) | |
print(ind) | |
inputScript() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment