This is not a particularly general-goal solution, but I'd a circumstance where by I predicted a list of size three to five (by using a guarding if), and I had been breaking out the values to named variables. A simple and concise way I discovered for this involved: Random class https://how-to-get-free-phone64319.shotblogs.com/how-much-you-need-to-expect-you-ll-pay-for-a-good-free-phones-51036035