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

A33383. 下面Python代码执行后的输出是?( )n =81i,result =1,1while i**2 <= n: if n%(i**2) == 0: result = i**2 i +=1print(result)

单选题 较易

题目描述

下面Python代码执行后的输出是?(    )

n =81

i,result =1,1

while i**2 <= n:

if n%(i**2) == 0:

result = i**2

i +=1

print(result)

选项(单选)

上一题 下一题