def aa(shu=''):
while 1:
try:
hu=input (shu)
h=int(hu)
except ValueError:
print ('不是整数')
finally:
if type (h)==int:
break
else:
continue
aa()
出现了h is not defined
请各位解一下thx