1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env python3 import sys if sys.argv[1] == 'correct': print('Argument is correct.') sys.exit(0) print('Argument is incorrect:', sys.argv[1]) sys.exit(1)