1. 반올림, 버림, 올림 # 반올림 s = 123.4567 rounded_s = round(s, 2) # 소수점 아래 2자리까지 반올림 print(rounded_s) # 출력: 123.46 # 올림 ceiled = math.ceil(3.14159) # 4 # 버림 import math floored = math.floor(3.14159) # 3 # 절삭1 truncated = int(3.14159) # 3 # 절삭2 import math truncated = math.trunc(3.14159) # 3 2. 정밀한 소수 연산 from decimal import Decimal, getcontext getcontext().prec = 10 # 정밀도 설정 result = Decimal('1.1') + Dec..