in this case this is working fine for me but it just add like 4 seconds extra for the code to run
try:
val1 = a
except:
try:
val1 = b
except:
try:
val1 = c
except:
try:
val1 = d
except:
try:
val1 = e
except:
pass
Is there a better way to make many try and except?