题目详情
单选题 若使以下程序执行结果是144,空格处该填写的代码是________. x = 'bee' y = '' for i in x: y+=str(______) print(y)
A. chr(i)-chr('a')
B. ord(i) - ord('a')
C. ord(x)-ord('a')
D. i-'a'
学科:大学计算机及Python程序设计-Python
时间:2023-06-20 05:02:21
相关题目
相关作业