第41305题 判断题
小杨这学期准备参加 GESP 的 7 级考试,其中有关于三角函数的内容,他能够通过下面的代码找到结束循环的角度值。( )
import math
def function():
    while True:
        x=float(input())
        x=x/180*3.14
        if int(math.sin(x)*math.sin(x)+math.cos(x)*math.cos(x))==1:
            print(x)
            break

function()
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析