#变量的使用
n = 10
print(n) #将变量传递给函数
10m = n * 10 + 5 #将变量作为四则运算的一部分
print(m)
105print(m-30) #将由变量构成的表达式作为参数传递给函数
75m = m * 2 #将变量本身的值翻倍
print(m)
210url = “http://c.biancheng.net/cplus/”
str = “C++教程:” + url #字符串拼接
print(str)
C++教程:http://c.biancheng.net/cplus/