Hi,
I received intent error on simple code below. your attention is appreciated.
def update_status(h_id, a, o):
if h_id is None:
return a
else:
return o
update_status(!H_No!, "Available", "Occupied")
intentation error using simple code below
Indent error. you need to put one more space in front of else so that it is at the same indentation level of the if.
R_