Getting Array Input In Python Is Not Recognized