判断题
偏易
#16141
str1 = 'Python' + 'Python' + 'Python' str2 = 'Python' * 3 str1 和 str2 保存的内容是一样的。…
str1 = 'Python' + 'Python' + 'Python'
str2 = 'Python' * 3
str1 和 str2 保存的内容是一样的。( )
答案与解析
正确答案:对
解析
字符串 + 代表拼接,字符串*代表重复一定次数