Getting Array Input In Python Integer Methods In Python Class