class math :
def __init__(self):
self.one = 0
self.two = 0
self.sum = 0
def Plus(self):
self.sum = self.one + self.two
return self.sum
def Minus(self):
self.sum = self.one - self.two
return self.sum
def Compare(self):
return self.one > self.two
what = math()
what.one = int(input())
what.two = int(input())
print(what.Plus())
print(what.Minus())
print(what.Compare())
ಠ_ಠ
'Nefus' 카테고리의 다른 글
파이-썬 [2] (0) | 2020.09.16 |
---|---|
파이-썬 (0) | 2020.09.12 |
Codeup 1548, 1556, 1561, 3160 문제풀이 (0) | 2020.07.04 |
Codeup 1468, 1472, 1474, 1484 문제 풀이 (0) | 2020.07.02 |
Codeup 1093~1095, 1402, 1403, 1405 문제 풀이 (0) | 2020.07.01 |