Hi Everyone,
I need some help. I am not a python expert nor a programmer but I am a GIS user. Trying to learn python scripting for now.
This is what I am trying to make an expression in python:

I try this:
def FindLabel ( [POLY_ID], [EV_CODE], [STAND_CONDITION_CODE] 😞
return "<BOL><UND>" + " " + [POLY_ID] + " " + "</UND></BOL>" + '\n' + [EV_CODE] + "-" + [STAND_CONDITION_CODE]
And I want,
if [EV_CODE] and [STAND_CONDITION_CODE] is None:
return "?"
Is anyone can help me create an expression for this label?
Your responses is highly appreciated.
Thank you,
nidz