모듈:Average: 편집 역사

차이 선택: 비교하려는 판의 라디오 버튼을 선택한 다음 엔터나 아래의 버튼을 누르세요.
설명: (최신) = 최신 판과 비교, (이전) = 이전 판과 비교, 잔글= 사소한 편집

2025년 5월 9일 (금)

  • 최신이전 23:432025년 5월 9일 (금) 23:43Kimchan 토론 기여 1,069 바이트 +1,069 새 문서: local p = {} -- 별점 개선 function p.calculate_average(frame) -- 점수 배열 가져오기 local args = frame.args local scores = {} for _, value in ipairs(args) do local score = tonumber(value) if score then if score >= 0 and score <= 5 then table.insert(scores, score) else return "점수는 0에서 5 사이여야 합니다." end end end -- 점수가 없...