Random Number Python Function Questions