Created
January 25, 2017 20:51
-
-
Save Gateswong/462a96524f70337cd61242abd44fe688 to your computer and use it in GitHub Desktop.
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
10 20 40 30 50 |
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
def read(filename): | |
fp = open(filename, 'r') | |
items = fp.readline().split(' ') | |
fp.close() | |
return items | |
if __name__ == '__main__": | |
numbers = [int(x) for x in read('input.txt')] | |
# Play around with numbers here. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment