I just did this how’s your day going a[idx % len(a)] * (idx < len(a))
It’s going to return the appropriate element of a list without requiring an explicit bounds check (because we don’t care about the output when the index would be out of bounds)
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
It’s going to return the appropriate element of a list without requiring an explicit bounds check (because we don’t care about the output when the index would be out of bounds)