[Solved] IndexError: list index out of range Python Argument Input [closed]
[ad_1] check this question out and see if it can helppython and sys.argv add this after your “def…” if len(sys.argv) < 3 : print “Please enter two arguments” sys.exit(1) and change your other one if len(sys.argv) > 3 : print “Enter two arguments only” sys.exit(1) to if len(sys.argv) > 4 : print “Enter only two … Read more