Python-100-Days/Day01-15/Day02/code/variable1.py

20 lines
206 B
Python
Raw Normal View History

2018-03-02 00:09:06 +08:00
"""
使用变量保存数据并进行操作
Version: 0.1
Author: 骆昊
Date: 2018-02-27
"""
a = 321
b = 123
print(a + b)
print(a - b)
print(a * b)
print(a / b)
print(a // b)
print(a % b)
print(a ** b)