[나도코딩 파이썬 기본편] #11 모듈, 패키지 따라하기
1. 모듈 #정가 def price(people): print("{}명 가격은 {}원 입니다." .format(people, people * 10000)) #조조할인 def price_morning(people): print("{}명 조조 할인 가격은 {}원 입니다." .format(people, people * 6000)) #군인할인 def price_soldier(people): print("{}명 군인 할인 가격은 {}원 입니다." .format(people, people * 4000)) import theater_module theater_module.price(3) theater_module.price_morning(4) theater_module.price_soldier(2) from thea..
2022.02.03