python_interview_question icon indicating copy to clipboard operation
python_interview_question copied to clipboard

67-print c 输出是否有误

Open wangzaistone opened this issue 5 years ago • 0 comments

a = 10 b = 20 c = [a] a = 15 print(type(c),c) 这个输出的应该是个list了,不是数值10了。 <class 'list'> [10]

wangzaistone avatar Oct 28 '19 02:10 wangzaistone