<s> import sys , json <EOL> from baluhn import verify <EOL> LUHN_PREFIX = "<STR_LIT>" <EOL> def verify_npi ( number ) : <EOL> prefixed_number = "<STR_LIT>" % ( LUHN_PREFIX , number ) <EOL> return verify ( prefixed_number ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> if len ( sys . argv ) != <NUM_LIT:2> : <EOL> print "<STR_LIT>" <EOL> print "<STR_LIT>" <EOL> print "<STR_LIT>" <EOL> print "<STR_LIT>" <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> result = verify_npi ( sys . argv [ <NUM_LIT:1> ] ) <EOL> jresult = { "<STR_LIT>" : sys . argv [ <NUM_LIT:1> ] , "<STR_LIT>" : result } <EOL> print json . dumps ( jresult , indent = <NUM_LIT:4> ) </s>
