如何在中实现这个C#
for循环IronPython
,我似乎无法找到一种方法来i - 10
实现IronPython
int amount = 32;
int scrolls = 0;
int mets = 0;
if (amount >= 10) {
for (int i = amount; i >= 10; i -= 10) {
scrolls++;
if (i - 10 < 10)
mets = i - 10;
}
}