#모듈이란? 프로그램에서 사용할 함수나 변수를 미리 모아둔 패키지
import random #모듈 불러오기
import math
print(math.pi) #모듈에 있는 변수를 가져온 것
print(math.ceil(3.1)) #모듈에 있는 함수를 가져온 것
print(random.choice(['a','b','c','d']))
print(random.sample(range(1, 31), 10))
num1 = math.pow(7, 12)
num2 = math.pow(6, 13)
if num1 > num2: #7의 12제곱을 계산한 값이 6의 13 제곱을 계산한 값 보다 큰가?
print("7의 12제곱이 더 큽니다.")
else:
print("6의 13제곱이 더 큽니다.")
To embed this project on your website, copy the following code and paste it into your website's HTML: