suppose I have the following code:
def isIn(a:str, b:list[str]) -> str:
yup = False
for i in b:
if i == a:
return 'is'
yup = True
if not yup:
return 'is not'
now, if line 7 is reached, yup must be false. According to the official Python style (perhaps PEP 8?), should I still make line 8 conditional, or should I just put it after the for statement?