python 学习笔记 表达式(9)
表达式是由操作符和操作数组成的.
例如
length = 5
breadth = 2
area = length * breadth
print 'Area is', area
print 'Perimeter is', 2 * (length + breadth)
表达式是由操作符和操作数组成的.
例如
length = 5
breadth = 2
area = length * breadth
print 'Area is', area
print 'Perimeter is', 2 * (length + breadth)