题目
题目

MUF0052 ICT Unit 2 - Semester 2, 2025

单项选择题

Which one of the following identifies the location of the assignment statement in the Python module shown immediately below?1 def big_or_small():2 Num = input("Enter an integer: ")3 if Num > 10:4 print("big")5 else:6 print("small")

选项
A.a. Line 5
B.b. Line 3
C.c. Line 2
D.d. Line 1
题目图片
查看解析

查看解析

标准答案
Please login to view
思路分析
To identify the location of the assignment statement, I will inspect each line in the given Python snippet. Option a: Line 5 shows 'else:' which is part of the control flow, not an assignment. Since 'else' is a ke......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!