Why it appears an error even if I have a try and except?

前端 未结 0 1705
旧巷少年郎
旧巷少年郎 2020-12-25 09:44
def temperature_def(tem):       
try:
    if tem >= 34 and tem <= 38:
        return tem
    else:
        print("You can not enter the list!")
              


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题