测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A18598. corner case 通常翻译为极端案例或边角案例,通常指正常范围以外的问题或是情形。在如下 Python 代码中, corner case 是( )。tnt, cnt = 0, 0 while True: score = int(input()) if score == -1: break tnt += score cnt += 1 print(tnt / cnt)

单选题 较易

题目描述

corner case 通常翻译为极端案例或边角案例,通常指正常范围以外的问题或是情形。在如下 Python 代码中, corner case 是(    )。

tnt, cnt = 0, 0
while True:
    score = int(input())
    if score == -1:
        break
    tnt += score
    cnt += 1
print(tnt / cnt)

选项(单选)

上一题 下一题