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

A21840. 在Python中,以下代码的输出结果一定为True。( )str1='好好学习,天天向上。'*1000 str2='好好学习,天天向上。'*1000 print(id(str1)==id(str2))

判断题 困难

题目描述

在Python中,以下代码的输出结果一定为True。(    )

str1='好好学习,天天向上。'*1000
str2='好好学习,天天向上。'*1000
print(id(str1)==id(str2))

选项(单选)

上一题 下一题