for index in sequence:
    if conditionMet:
        value = index
break
try:
    doSomething(value)
except NameError:
    print("Didn't find anything")
Is it possible only to declare a variable without assigning any value in Python?