python 面试题 string int

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python 面试题 string int相关的知识,希望对你有一定的参考价值。

str1 = ‘hello‘
str2 = str1
str3 = str1
str4 = str1

str1 = ‘‘
int1 = 1 int2 = int1 int3 = int1 int4 = int1 int1 =123 print ‘str2 = ‘,str2 print ‘str1 = ‘,str1 print ‘int2 = ‘,int2 print ‘int1 = ‘,int1 """ str2 = hello str1 = int2 = 1 int1 = 123 """

  技术分享

 



以上是关于python 面试题 string int的主要内容,如果未能解决你的问题,请参考以下文章