by meowface · 12y ago · 0 comments
def is_file_for(is_nagyker, type):
return ((type == KIS_ES_NAGYKER)
or (type == KISKER and not is_nagyker)
or (type == NAGYKER and is_nagyker)) return (
(type == KIS_ES_NAGYKER ) or
(type == KISKER and not is_nagyker) or
(type == NAGYKER and is_nagyker))The other reply to you seems to be the best of both worlds.
def is_file_for(is_nagyker, type):
return ( (type == KIS_ES_NAGYKER)
or (type == KISKER and not is_nagyker)
or (type == NAGYKER and is_nagyker)) def is_file_for(is_nagyker, type):
return (
(type == KIS_ES_NAGYKER)
or (type == KISKER and not is_nagyker)
or (type == NAGYKER and is_nagyker)
)From what I can tell this is kind of a point of contention among many developers; there are lots of debates when Googling that particular line.