📜  如何在 python 循环中添加分数 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:36.983000             🧑  作者: Mango

代码示例1
To avoid the values of score being reset to 0 on every iteration of the loop you should initialize both variables above the while loop.