python始终记录变量的最新值
python代码片
// An highlighted block
#print("hello,world!");
test="hello,python!"
print(test)
message="nihao"
print(message)
message="nihaoma"
print(message)
>>>
hello,python!
nihao
nihaoma
------------------
(program exited with code: 0)
Press return to continue
下面展示 对比代码
#print("hello,world!");
test="hello,python!"
print(test)
message="nihao"
#print(message)
message="nihaoma"
print(message)
>>>
hello,python!
nihaoma
------------------
(program exited with code: 0)
Press return to continue