📜  如何在python代码示例中创建变量

📅  最后修改于: 2022-03-11 14:46:45.725000             🧑  作者: Mango

代码示例2
#Set a variable equal to something
variable = 0
#This adds 1 to the variable
variable += 1 
#This will print 1
print(variable)