팥죽의화
2025년 11월 21일 08:59분
# Genesis_25_Chapter_Lv1_V2.py
# KO/EN 병행 설명 + 중급 요소(List Comprehension + 간단 통계)
def get_verses():
return [
{
"ref": "창세기 25:8",
"krv": "아브라함이 나이 많아 기운이 진하여 세상을 떠나 그의 열조에게로 돌아가니라",
"esv": "Abraham breathed his last and died in a good old age..."
},
{
"ref": "창세기 25:11",
"krv": "그 후에 하나님이 그의 아들 이삭에게 복을 주셨고...",
"esv": "After the death of Abraham, God blessed Isaac his son..."
},
{
"ref": "창세기 25:23",
"krv": "큰 자가 어린 자를 섬기리라",
"esv": "The older shall serve the younger."
},
{
"ref": "창세기 25:34",
"krv": "에서가 장자의 명분을 가볍게 여겼더라",
"esv": "Thus Esau despised his birthright."
}
]
def show_title():
print("[Genesis 25 | KRV & ESV]")
print("— Lv1~Lv2 Hybrid: 핵심 구절 + 간단 통계 —\n")
def show_verses(vs):
for v in vs:
print(v["ref"])
print("KRV:", v["krv"])
print("ESV:", v["esv"])
print()
def show_summary():
print("[Summary]")
print("아브라함은 믿음의 길을 마쳤고(25:8), 하나님은 복을 이삭에게 이어주셨다(25:11). "
"하나님은 주권대로 큰 자와 작은 자의 질서를 정하시며(25:23), "
"에서는 장자의 명분을 가볍게 여겼다(25:34).\n")
def show_practice():
print("[Practice]")
print("오늘 하나님이 주신 자리와 은혜를 ‘가볍게 여기지 않는 하루’를 선택하자.\n")
def show_stats(vs):
total = sum(len(v["krv"]) for v in vs)
print("[Stats]")
print(f"KRV 전체 문자 수: {total}")
def main():
show_title()
verses = get_verses()
show_verses(verses)
show_summary()
show_practice()
show_stats(verses)
if __name__ == "__main__":
main()
package com.jesusbornd.genesis;
import java.util.List;
public class Genesis_25_Chapter_Lv1_V2 {
// --- Verse DTO ---
static class Verse {
String ref;
String krv;
String esv;
Verse(String ref, String krv, String esv) {
this.ref = ref;
this.krv = krv;
this.esv = esv;
}
}
// --- 핵심 구절 4개 ---
private static final List<Verse> VERSES = List.of(
new Verse(
"창세기 25:8",
"아브라함이 나이 많아 기운이 진하여 세상을 떠나 그의 열조에게로 돌아가니라",
"Abraham breathed his last and died in a good old age, an old man and full of years..."
),
new Verse(
"창세기 25:11",
"그 후에 하나님이 그의 아들 이삭에게 복을 주셨고...",
"After the death of Abraham, God blessed Isaac his son..."
),
new Verse(
"창세기 25:23",
"큰 자가 어린 자를 섬기리라",
"The older shall serve the younger."
),
new Verse(
"창세기 25:34",
"에서가 장자의 명분을 가볍게 여겼더라",
"Thus Esau despised his birthright."
)
);
public static void main(String[] args) {
printTitle();
printVerses();
printSummary();
printPractice();
printStats();
}
private static void printTitle() {
System.out.println("[Genesis 25 | KRV & ESV]");
System.out.println("— Lv1~Lv2 Hybrid: 핵심구절 + 간단 집계 —\n");
}
private static void printVerses() {
for (Verse v : VERSES) {
System.out.println(v.ref);
System.out.println("KRV: " + v.krv);
System.out.println("ESV: " + v.esv);
System.out.println();
}
}
private static void printSummary() {
System.out.println("[Summary]");
System.out.println("아브라함은 믿음의 경주를 마치고(25:8), 하나님은 약속을 이삭에게 이어주셨다(25:11). "
+ "하나님은 인간의 질서와 다른 주권을 보이시며(25:23), 에서는 장자의 명분을 가볍게 여겼다(25:34).");
System.out.println();
}
private static void printPractice() {
System.out.println("[Practice]");
System.out.println("오늘 ‘장자의 명분’—주님이 주신 자리와 은혜—를 가볍게 여기지 말고 감사로 붙들자.");
System.out.println();
}
// --- 중급 요소: 문자열 길이 집계 ---
private static void printStats() {
int totalKrvLength = VERSES.stream()
.mapToInt(v -> v.krv.length())
.sum();
System.out.println("[Stats]");
System.out.println("KRV 본문 총 문자 수: " + totalKrvLength);
}
}
← 목록으로
Comments
말씀의 흐름이 참 선명하게 잡혀 있네요. 믿음의 경주를 마친 아브라함처럼, 오늘도 주신 자리와 명분을 가볍게 여기지 않도록 도와주시는 주님께 감사드립니다. “큰 자·작은 자”의 질서도 결국 하나님의 주권 안에 있음을 다시 생각하게 됩니다.