성령의 9가지 열매
2025년 7월 7일 17:10분
package jesusbornd;
import java.util.Random;
public class FruitsOfSpirit {
private static final String[] FRUITS = {
"Love", "Joy", "Peace", "Patience",
"Kindness", "Goodness", "Faithfulness",
"Gentleness", "Self-control"
};
/**
* 1) listFruits()
* └ 9가지 열매 이름을 출력
*/
public static void listFruits() {
System.out.println("✝️ The Nine Fruits of the Spirit(성령의 9가지 열매):");
for (String fruit : FRUITS) {
System.out.println(" • " + fruit);
}
System.out.println();
}
/**
* 2) showGuidelines()
* └ 각 열매를 일상에서 실천하기 위한 간단한 강령 제시
*/
public static void showGuidelines() {
String[] guidelines = {
"Love : 누군가에게 조건없이 선의를 베풀어보세요.",
"Joy : 감사거리를 매일 매일 기록해보세요.",
"Peace : 화가 난다면, 깊게 숨을 들이쉬어 보아요.",
"Patience : 아무리 꼬르륵 거려도 식전기도는 잊지 마세요",
"Kindness : 진심 어린 칭찬 한 마디를 건네보세요.",
"Goodness : 남이 안 봐도 정직한 선택을 하세요.",
"Faithfulness: 약속한 일은 끝까지 지키세요.",
"Gentleness : 비평을 해야 할 땐 목소리를 한 톤 낮춰 보세요.",
"Self-control: 나쁜 습관 하나를 3주마다 하나씩 고쳐보세요."
};
System.out.println("🛠️ Daily Practice Guidelines:");
for (String g : guidelines) System.out.println(" • " + g);
System.out.println();
}
/**
* 3) reflectDaily()
* └ 오늘 묵상할 ‘오늘의 열매’를 랜덤으로 뽑아 제안
*/
public static void reflectDaily() {
Random rnd = new Random();
int pick = rnd.nextInt(FRUITS.length);
System.out.println("🕊️ Today’s focus fruit(오늘의 중점 열매는) is ➜ " + FRUITS[pick]);
System.out.println(" (위의 지침을 삶 속에서 실천해보세요!)");
}
// 엔트리포인트: 세 가지 메서드를 한 번에 실행
public static void main(String[] args) {
listFruits();
showGuidelines();
reflectDaily();
}
}
#### fruits_of_spirit.py
#### “복음은 컴파일되지 않아도 실행된다… Python에서도 마찬가지!”
from random import choice
class FruitsOfSpirit:
FRUITS = [
"Love", "Joy", "Peace", "Patience",
"Kindness", "Goodness", "Faithfulness",
"Gentleness", "Self-control",
]
GUIDELINES = [
"Love : 누군가에게 조건없이 선의를 베풀어보세요.",
"Joy : 감사거리를 매일 매일 기록해보세요.",
"Peace : 화가 난다면, 깊게 숨을 들이쉬어 보아요.",
"Patience : 아무리 배고파도 식전 기도를 잊지 마세요.",
"Kindness : 진심 어린 칭찬 한 마디를 건네보세요.",
"Goodness : 남이 안 봐도 정직한 선택을 하세요.",
"Faithfulness: 약속한 일은 끝까지 지키세요.",
"Gentleness : 지적할 땐 목소리를 한 톤 낮춰 보세요.",
"Self-control: 나쁜 습관 하나를 3주마다 고쳐보세요.",
]
@classmethod
def list_fruits(cls) -> None:
"""1) 9가지 열매 이름 출력"""
print("The Nine Fruits of the Spirit:")
for fruit in cls.FRUITS:
print(" -", fruit)
print()
@classmethod
def show_guidelines(cls) -> None:
"""2) 일상 실천 강령 출력"""
print("Daily Practice Guidelines:")
for line in cls.GUIDELINES:
print(" -", line)
print()
@classmethod
def reflect_daily(cls) -> None:
"""3) 오늘의 포커스 열매 무작위 추천"""
fruit = choice(cls.FRUITS)
print(f"Today's focus fruit: {fruit}")
def main() -> None:
FruitsOfSpirit.list_fruits()
FruitsOfSpirit.show_guidelines()
FruitsOfSpirit.reflect_daily()
if __name__ == "__main__":
main()
← 목록으로
Comments
오직 성령의 열매는 사랑과 희락과 화평과 오래 참음과 자비와 양선과 충성과 온유와 절제니 이같은 것을 금지할 법이 없느니라(갈5:22~23)
와, 예수님이 주시는 열매가 이렇게 많군요! 사랑이랑 기쁨이랑 친절함까지, 매일매일 이 열매들로 가득하고 싶어요!