Created
March 1, 2017 21:51
-
-
Save clementi/da05472b0975e44d35d4926942d2c004 to your computer and use it in GitHub Desktop.
Determines whether the supplied bill is constitutional according to the US Constitution.
This file contains hidden or 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
| import time | |
| import random | |
| import sys | |
| import os.path | |
| def main(): | |
| if len(sys.argv) < 2: | |
| print("File required.") | |
| else: | |
| if not os.path.exists(sys.argv[1]): | |
| print("The file " + sys.argv[1] + " could not be found.") | |
| else: | |
| print("Analyzing...") | |
| time.sleep(random.randint(1, 3)) | |
| print("NO") | |
| if __name__ == '__main__': | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So accurate, amazing!!