手记

python学习:变量

##变量

print("Hello World!")

name = "xiguapi"

name2 = name

print(name,name2)

name= "Jack"

print ("What is the value name2 now",name2)


运行结果:

Hello World!

xiguapi xiguapi

What is the value name2 now xiguapi

0人推荐
随时随地看视频
慕课网APP