用python求一百以内的偶数之和,不包括100 发表于 2023-09-28 更新于 2023-11-19 Valine: 12345678910num = 0sum = 0single = 0num += 1while single < 98: single = num*2 sum = single + sum num += 1print(sum)