在cmd中退出python,需要使用quit()命令
name = "Alex Li" name2 = name print(name,name2) name = "Jack" print("What is the value of name2 now?")
答案还是 Alex Li
在cmd中退出python,需要使用quit()命令
name = "Alex Li" name2 = name print(name,name2) name = "Jack" print("What is the value of name2 now?")
答案还是 Alex Li