How are these different? TypeError: 'int' object is not iterable

前端 未结 0 997
野趣味
野趣味 2020-12-02 07:42

Can someone explain me how\'s this statement:

return [grade if (grade < 38 or grade % 5 < 3) else (grade + (5 - grade%5)) for grade in grades]


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