Etc/Python
020 수학적 연산
junmoyo
2021. 1. 21. 21:43
description :
+ 덧셈
- 뺏셈
* 곱셈
/ 나눗셈
** 거듭제곱
source code :
a = 1
b = 2
print(a+b)
print(a-b)
print(a*b)
print(a/b)
print('---------------------------------')
while a < 17 :
print(b**a)
a+=1
result :