Getting Array Input In Python Examples Using Functions