香港科技大学 Python 期中考试卷
原创2025/11/2大约 1 分钟...约 342 字
1. Problem 1 [10 points] True/False Questions
Indicate whether the following statements are true or false by putting T or F in the given table in the answer book. You get 1 point for each correct answer.
(a) int and float objects are mutable, meaning their contents can be updated.
(b) The output of the following program is 1023.
def main() -> None:
a: int = 10
b: int = 23
a, b = b, a
print(a, b, sep="")
if __name__ == "__main__":
main()公众号:AI悦创【二维码】

AI悦创·编程一对一
AI悦创·推出辅导班啦,包括「Python 语言辅导班、C++ 辅导班、java 辅导班、算法/数据结构辅导班、少儿编程、pygame 游戏开发、Web、Linux」,招收学员面向国内外,国外占 80%。全部都是一对一教学:一对一辅导 + 一对一答疑 + 布置作业 + 项目实践等。当然,还有线下线上摄影课程、Photoshop、Premiere 一对一教学、QQ、微信在线,随时响应!微信:Jiabcdefh
C++ 信息奥赛题解,长期更新!长期招收一对一中小学信息奥赛集训,莆田、厦门地区有机会线下上门,其他地区线上。微信:Jiabcdefh
方法一:QQ
方法二:微信:Jiabcdefh

更新日志
2025/11/2 11:19
查看所有更新日志
be1e6-于fec60-于728f4-于a44f6-于70353-于ae8a4-于9bfdc-于4d098-于1c35a-于cbb3a-于76989-于86c50-于027da-于
贡献者
AndersonHJBAI悦创