I have a list in python
x = [\'a\',\'b\',\'c\']
with 3 elements. I want to check if a 4th element exists without receiving an error message.
You want to check if the list is 4 or more elements long?
len(x) >= 4
You want to check if what would be the fourth element in a series is in a list?
'd' in x