philschmid/DMath huggingface dataset:
Category: Arithmetic calculation

Question (EN): Suhwan drinks 0.2 liters (L) of milk three times a day. How many liters (L) of milk does Suhwan drink in a week?
Question (KO): 수환이는 0.2리터(L)짜리 우유를 하루에 3번 마십니다. 수환이가 일주일 동안 마시는 우유는 모두 몇 리터(L)입니까?

Answer: 4.2

Solution (Python):
var_a = 0.2
var_b = 3
var_c = var_a * var_b
var_d = 7
var_e = var_c * var_d
print('{:.2f}'.format(round(var_e+1e-10,2)))
Category: Correspondence

Question (EN): A and B are two-digit numbers. A is 8 less than 23. The number that is 7 greater than B is 18. Find the value of A-B.
Question (KO): A, B는 두 자리 수입니다. A는 23보다 8 작은 수이고, B보다 7 큰 수는 18입니다. A-B의 값을 구하시오.

Answer: 4

Solution (Python):
var_a = 23
var_b = 8
var_c = var_a - var_b
var_d = 18
var_e = 7
var_f = var_d - var_e
var_g = var_c - var_f
print(int(var_g))
Category: Geometry

Question (EN): If the radius of a circle is 4 centimeters (cm), what is the diameter of the circle in centimeters (cm)?
Question (KO): 원의 반지름 길이가 4센티미터(㎝)일때, 원의 지름은 몇 센티미터(㎝)인가요?

Answer: 8

Solution (Python):
var_a = 4
var_b = 2
var_c = var_a * var_b
print(int(var_c))
Category: Arithmetic calculation

Question (EN): There are 24 students in the 5th and 6th grades together. Of these, 50 cherries were distributed equally to the 5th graders only, leaving 2 cherries. If the number of 6th graders is half the number of 5th graders, how many cherries did the 5th graders get?
Question (KO): 5학년 학생과 6학년 학생이 합하여 24명이 있습니다. 이 중에서 5학년 학생에게만 체리 50개를 똑같이 나누어 주었더니 2개가 남았습니다. 6학년 학생의 수는 5학년 학생의 수의 절반일 때, 5학년 학생은 체리를 몇 개씩 받았는지 구하시오.

Answer: 6

Solution (Python):
var_a = 50
var_b = 2
var_c = var_a - var_b
var_d = 24
var_e = 2
var_f = 1
var_g = var_e + var_f
var_h = var_d // var_g
var_i = var_c // var_h
print(int(var_i))
Category: Comparison

Question (EN): There are 24 balloons. Of these, there are 6 more blue balloons than red balloons, red balloons are 1/4 of the total, and the rest are all yellow balloons. What color balloons will be the most?
Question (KO): 풍선 24개가 있습니다. 이 중에서 파란색 풍선은 빨간색 풍선보다 6개 더 많고, 빨간색 풍선은 전체의 1/4이며, 나머지는 노란색 풍선이라고 합니다. 어떤 색의 풍선이 가장 많을까요?

Answer: blue

Solution (Python):
var_a = 'red'
var_b = 'blue'
var_c = 'yellow'
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 24
var_e = 0.25
var_f = var_d * var_e
var_g = 24
var_h = 0.25
var_i = var_g * var_h
var_j = 6
var_k = var_i + var_j
var_l = 24
var_m = 24
var_n = 0.25
var_o = var_m * var_n
var_p = 6
var_q = var_o + var_p
var_r = var_l - var_q
var_s = 24
var_t = 0.25
var_u = var_s * var_t
var_v = var_r - var_u
list_b= []
if "/" in str(var_v):
    var_v = eval(str(var_v))
list_b.append(var_v)
if "/" in str(var_k):
    var_k = eval(str(var_k))
list_b.append(var_k)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_b.append(var_f)
list_b.reverse()
var_w = 1
list_c=list_b.copy()
list_c.sort()
var_x = list_c[-var_w]
var_y = list_b.index(var_x)+1
var_z = list_a[var_y-1]
print(var_z)
Category: Comparison

Question (EN): The number of visitors to an exhibition was 350 on the first day, 427 on the second day, 384 on the third day, 402 on the fourth day, and 431 on the fifth day. How many days were there no more than than 400 visitors?
Question (KO): 어느 전시회의 입장객을 세어 보니 개장 첫날에는 350명, 2일 차에는 427명, 3일 차에는 384명, 4일 차에는 402명, 5일 차에는 431명이 왔습니다. 관람객이 400명 이하였던 날은 며칠 있었나요?

Answer: 2

Solution (Python):
var_a = 350
var_b = 427
var_c = 384
var_d = 402
var_e = 431
list_a= []
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_f = 400
list_b = []
for i in list_a:
    if i <= var_f:
        list_b.append(i)
var_g = len(list_b)
print(int(var_g))
Category: Geometry

Question (EN): A square is formed by placing several marbles of the same size without gaps so that each side is filled with 8 marbles. How many more marbles do you need to place marbles around this square to enclose it again?
Question (KO): 크기가 같은 구슬 몇 개를 가지고 한 변이 8개가 되도록 빈틈없이 늘어놓아 정사각형을 만들었습니다. 이 정사각형 둘레에 구슬을 놓아 또 한 번 에워싸도록 만들 때, 구슬은 몇 개가 더 필요합니까?

Answer: 36

Solution (Python):
var_a = 8
var_b = 4
var_c = var_a * var_b
var_d = 4
var_e = var_c + var_d
print(int(var_e))
Category: Comparison

Question (EN): Which number is the 2nd smallest among 5, 8, and 4?
Question (KO): 5, 8, 4 중에서 2번째로 작은 숫자는 무엇인가요?

Answer: 5

Solution (Python):
var_a = 5
var_b = 8
var_c = 4
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 2
list_b=list_a.copy()
list_b.sort()
var_e = list_b[var_d-1]
print(int(var_e))
Category: Correspondence

Question (EN): The average weight of 10 watermelons is 4.2 kg. If one of these watermelons is replaced by a watermelon weighing 5 kilograms (kg), the average weight of the watermelons becomes 4.4 kilograms (kg). How many kilograms (kg) is the watermelon that has been replaced?
Question (KO): 수박 10개의 평균 무게는 4.2킬로그램(㎏)이다. 이때 수박 하나를 빼고 무게가 5킬로그램(㎏)인 수박을 바꿔넣으면 수박의 평균 무게가 4.4킬로그램(㎏)이 된다고 한다. 바뀌어 나간 수박의 무게는 몇 킬로그램(㎏)인가?

Answer: 3

Solution (Python):
var_a = 5
var_b = 4.4
var_c = 4.2
var_d = var_b - var_c
var_e = 10
var_f = var_d * var_e
var_g = var_a - var_f
print(int(eval('{:.2f}'.format(round(var_g+1e-10,2)))))
Category: Arithmetic calculation

Question (EN): A 15 liter (L) bowl contains 7 liters (L) and 200 milliliters (㎖) of water. At least how many times would it take to pour water into a 600-milliliter (mL) bowl to fill this bowl?
Question (KO): 15리터(L) 들이의 그릇에 7리터(L) 200밀리리터(㎖)의 물이 들어있습니다. 이 그릇에 물을 가득 채우려면 600밀리리터(㎖) 그릇으로 최소한 몇 번 부어야 합니까?

Answer: 13

Solution (Python):
var_a = 15
var_b = 1000
var_c = var_a * var_b
var_d = 7
var_e = 1000
var_f = var_d * var_e
var_g = 200
var_h = var_f + var_g
var_i = var_c - var_h
var_j = 600
var_k = var_i / var_j
var_l = 1
var_m=int(((var_k+9*10**(var_l-2))//(10**(var_l-1)))*10**(var_l-1))

print(int(var_m))
Category: Possibility

Question (EN): When Jiyoung and Shinwoo play rock-paper-scissors twice, find the number of cases in which Shinwoo does not win both times. (However, a draw may also come out.)
Question (KO): 지영이와 신우가 가위바위보를 두 번 했을 때, 신우가 두 번 다 이기지 않는 경우의 수를 구하시오. (단, 무승부도 나올 수 있다.)

Answer: 36

Solution (Python):
var_a = 3
var_b = 3
var_c = var_a + var_b
var_d = 3
var_e = 3
var_f = var_d + var_e
var_g = var_c * var_f
print(int(var_g))
Category: Arithmetic calculation

Question (EN): Hyung-wook's classmates are standing in a line on the playground. If the distance between students is 25 meters (m) and the distance between the first and last students is 1500 meters (m), find the number of students in Hyung-wook's class.
Question (KO): 운동장에 형욱이네 반 학생들이 한 줄로 서 있다. 학생들 간의 간격이 25미터(m)이고 맨 앞의 학생과 맨 뒤의 학생 간의 거리가 1500미터(m) 일 때, 형욱이네 반 학생들의 수를 구하시오.

Answer: 61

Solution (Python):
var_a = 1500
var_b = 25
var_c = var_a / var_b
var_d = 1
var_e = var_c + var_d
print(int(var_e))
Category: Comparison

Question (EN): Seulgi has 23 red marbles. Miran has 34 blue marbles and Hohyun has 32 yellow marbles. Who has more marbles  among Seulgi and Hohyun ?
Question (KO): 슬기는 빨간 구슬을 23개 가지고 있습니다. 미란이는 파란 구슬을 34개 가지고 있고, 호현이는 노란 구슬을 32개 가지고 있습니다. 슬기와 호현이 중에서 구슬을 더 많이 가지고 있는 사람은 누구입니까?

Answer: Hohyun

Solution (Python):
var_a = 'Seulgi'
var_b = 'Hohyun'
list_a= []
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_c = 23
var_d = 32
list_b= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_b.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_b.append(var_c)
list_b.reverse()
var_e = 1
list_c=list_b.copy()
list_c.sort()
var_f = list_c[-var_e]
var_g = list_b.index(var_f)+1
var_h = list_a[var_g-1]
print(var_h)
Category: Arithmetic calculation

Question (EN): There are 156 dureums of gulbis. When there are 20 fish in one dureum, write a solution to find out how many gulbis there are in total and find out the answer.
Question (KO): 굴비가 156두름 있습니다. 굴비 한 두름이 20마리일 때, 굴비는 모두 몇 마리 있는지 풀이 과정을 쓰고 답을 구하세요.

Answer: 3120

Solution (Python):
var_a = 156
var_b = 20
var_c = var_a * var_b
print(int(var_c))
Category: Possibility

Question (EN): If there are 6 women's president candidates A, B, C, D, E, and F in an apartment complex, find the number of ways to select 3 women's president representatives.
Question (KO): 한 아파트 단지에 A, B, C, D, E, F 6명의 부녀회장 후보가 있을 때, 부녀회장대표 3명을 뽑는 경우의 수를 구하시오.

Answer: 20

Solution (Python):
var_a = 'A'
var_b = 'B'
var_c = 'C'
var_d = 'D'
var_e = 'E'
var_f = 'F'
list_a= []
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_a.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_g = len(list_a)
var_h = 3
var_i = 1
var_g = int(var_g)
var_h = int(var_h)
for i, elem in enumerate(range(var_h)):
    var_i = var_i * (var_g-i)
for i, elem in enumerate(range(var_h)):
    var_i = var_i / (i+1)
print(int(var_i))
Category: Possibility

Question (EN): How many 4-digit numbers are there where the sum of all digits is 34?
Question (KO): 모든 자리 수의 합이 34인 네 자리 수는 모두 몇 개입니까?

Answer: 10

Solution (Python):
var_a = 1000
var_b = 10000
var_c = 1
var_d = var_b - var_c
var_e = 1
list_a = [i for i in range(var_a, var_d + 1, var_e)]
list_b=[]
for i in list_a:
    var_f = 0
    i = int(i)
    while i//10 > 0:
        var_f = var_f + i%10
        i = i//10
    var_f = var_f + i%10
    list_b.append(var_f)
var_g = 34
list_c = []
for i in list_b:
    if i >= var_g:
        list_c.append(i)
var_h = 34
list_d = []
for i in list_c:
    if i <= var_h:
        list_d.append(i)
var_i = len(list_d)
print(int(var_i))
Category: Possibility

Question (EN): We want to take 2 balls from a box containing a red ball, a blue ball, a black ball, a yellow ball and a white ball. How many balls can we draw if we allow duplicates?
Question (KO): 빨간색 공, 파란색 공, 검정색 공, 노란색 공, 흰색 공이 들어있는 상자에서 공 2개 꺼내려고 합니다. 중복을 허용하여 꺼낼 수 있는 공의 경우의 수는 모두 몇 가지입니까?

Answer: 15

Solution (Python):
var_a = 'red'
var_b = 'blue'
var_c = 'black'
var_d = 'yellow'
var_e = 'white'
list_a= []
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_f = len(list_a)
var_g = 2
var_h = var_f + var_g
var_i = 1
var_j = var_h - var_i
var_k = 2
var_l = 1
var_j = int(var_j)
var_k = int(var_k)
for i, elem in enumerate(range(var_k)):
    var_l = var_l * (var_j-i)
for i, elem in enumerate(range(var_k)):
    var_l = var_l / (i+1)
print(int(var_l))
Category: Comparison

Question (EN): The average math test score of 5 students in the competition class was 81.6. After excluding the highest score, we averaged the scores and it was said to be 6 points lower than averaging the scores after excluding the lowest score. If the scores of the remaining students, excluding the highest and lowest score, are 88, 84, and 76, find the highest score.
Question (KO): 경시반 학생 5명이 수학 시험을 친 결과 평균 점수가 81.6점이었다. 가장 높은 점수를 빼고 평균을 내면 가장 낮은 점수를 빼고 평균을 낸 것보다 6점이 낮다고 한다. 가장 높은 점수와 가장 낮은 점수를 제외한 나머지 3명의 점수가 88점, 84점, 76점이라고 할 때, 가장 높은 점수를 구하여라.

Answer: 92

Solution (Python):
var_a = 81.6
var_b = 5
var_c = var_a * var_b
var_d = 88
var_e = 84
var_f = var_d + var_e
var_g = 76
var_h = var_f + var_g
var_i = var_c - var_h
var_j = 6
var_k = 4
var_l = var_j * var_k
var_m = var_i + var_l
var_n = 2
var_o = var_m / var_n
print(int(var_o))
Category: Possibility

Question (EN): Find the number of cases in which Shin-Young and Ji-An tied when Ji-An and Shin-Young play rock-paper-scissors. (However, a draw may also occur.)
Question (KO): 지안이와 신영이가 가위바위보를 할 때, 신영이와 지안이가 비긴 경우의 수를 구하시오. (단, 무승부도 나올 수 있다.)

Answer: 3

Solution (Python):
var_a = 3
print(int(var_a))
Category: Arithmetic calculation

Question (EN): You can make one square out of 5 centimeters (cm) of wire. How many equally sized squares can you make with 48.5 centimeters (cm) of wire?
Question (KO): 철사 5센티미터(㎝)로 정사각형 1개를 만들 수 있습니다. 철사 48.5센티미터(㎝)로 똑같은 크기의 정사각형을 몇 개 만들 수 있습니까?

Answer: 9

Solution (Python):
var_a = 48.5
var_b = 5
var_c = var_a // var_b
print(int(var_c))
Category: Correspondence

Question (EN): 153 is the result of accidentally multiplying a certain number by 9 while it had to be multiplied by 6. Find the result when you calculate correctly.
Question (KO): 153은 어떤 수에 6을 곱해야하는데 실수로 9를 곱하여 나온 결과입니다. 바르게 계산했을때 결과를 구하세요.

Answer: 102

Solution (Python):
var_a = 153
var_b = 9
var_c = var_a / var_b
var_d = 6
var_e = var_c * var_d
print(int(var_e))
Category: Geometry

Question (EN): The width of the rectangular-shaped park is 9 kilometers (km). If you walk around the edge of the park, you walk 46 kilometers (km). How many kilometers (km) is the length of the park?
Question (KO): 직사각형 모양의 공원의 가로가 9킬로미터(㎞)이다. 공원을 가장자리를 따라 한바퀴 걸으면 46킬로미터(㎞)를 걷는다. 공원의 세로는 몇 킬로미터(㎞)인가?

Answer: 14

Solution (Python):
var_a = 46
var_b = 2
var_c = var_a / var_b
var_d = 9
var_e = var_c - var_d
print(int(var_e))
Category: Geometry

Question (EN): What is the area of a rectangle measuring 47.3 centimeters (cm) long and 24 centimeters (cm) wide?
Question (KO): 가로 47.3센티미터(㎝), 세로 24센티미터(㎝)인 직사각형의 넓이는 얼마가 됩니까?

Answer: 1135.2

Solution (Python):
var_a = 47.3
var_b = 24
var_c = var_a * var_b
print('{:.2f}'.format(round(var_c+1e-10,2)))
Category: Correspondence

Question (EN): Subtracting 5 from a number equals 35. Find the value of that number divided by 5.
Question (KO): 어떤 수에서 5를 빼면 35가 된다. 어떤 수를 5로 나눈 값을 구하시오.

Answer: 8

Solution (Python):
var_a = 35
var_b = 5
var_c = var_a + var_b
var_d = 5
var_e = var_c / var_d
print(int(var_e))
Category: Comparison

Question (EN): Jungkook drank 1.3 liters (l) of milk. Seokjin drank 11/10 liters (l), and Yoongi drank 7/5 liters (l). Who drank the least milk?
Question (KO): 정국이는 우유를 1.3리터(L) 마셨습니다. 석진이는 11/10리터(L) 마셨고, 윤기는 7/5리터(L) 마셨습니다. 우유를 가장 적게 마신 사람은 누구입니까?

Answer: Seokjin

Solution (Python):
var_a = 'Jungkook'
var_b = 'Seokjin'
var_c = 'Yoongi'
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 1.3
var_e = 11
var_f = 10
var_g = var_e / var_f
var_h = 7
var_i = 5
var_j = var_h / var_i
list_b= []
if "/" in str(var_j):
    var_j = eval(str(var_j))
list_b.append(var_j)
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_b.append(var_g)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_b.append(var_d)
list_b.reverse()
var_k = 1
list_c=list_b.copy()
list_c.sort()
var_l = list_c[var_k-1]
var_m = list_b.index(var_l)+1
var_n = list_a[var_m-1]
print(var_n)
Category: Comparison

Question (EN): Both Hyomin and Jinseop solved the same math problem book. Hyomin completely solved 4/15, and Jinsub completely solved 6/15. Who has solved more math problems?
Question (KO): 효민과 진섭은 같은 수학 문제집을 각각 풀었다. 효민은 4/15를 완전히 풀었고 진섭은 6/15를 완전히 풀었다. 누가 수학 문제를 더 많이 풀었을까?

Answer: Jinseop

Solution (Python):
var_a = 'Hyomin'
var_b = 'Jinseop'
list_a= []
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_c = 4
var_d = 15
var_e = var_c / var_d
var_f = 6
var_g = 15
var_h = var_f / var_g
list_b= []
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_b.append(var_h)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_b.append(var_e)
list_b.reverse()
var_i = 1
list_c=list_b.copy()
list_c.sort()
var_j = list_c[-var_i]
var_k = list_b.index(var_j)+1
var_l = list_a[var_k-1]
print(var_l)
Category: Correspondence

Question (EN): Beong-gun added 156 to the result of dividing a certain number by 11, and he got 178 as the correct answer. Find the number.
Question (KO): 봉건이가 어떤 수를 11로 나눈 결과에 156을 더했더니 178이 정답으로 나왔습니다. 어떤 수를 구하시오.

Answer: 242

Solution (Python):
var_a = 178
var_b = 156
var_c = var_a - var_b
var_d = 11
var_e = var_c * var_d
print(int(var_e))
Category: Arithmetic calculation

Question (EN): There are 120 go stones. If there are 36 more white go stones than black go stones, how many white go stones are there?
Question (KO): 바둑돌이 120개가 있다. 흰 바둑돌이 검은 바둑돌보다 36개가 더 많았다면 흰 바둑돌은 몇 개인지 구하시오.

Answer: 78

Solution (Python):
var_a = 120
var_b = 36
var_c = var_a - var_b
var_d = 2
var_e = var_c / var_d
var_f = 36
var_g = var_e + var_f
print(int(var_g))
Category: Comparison

Question (EN): The 25 stickers are going to be shared by Junghyeon and Yejin. Find how many stickers Junghyeon will have when Junghyeon wants to have 1 more sticker than twice Ye-jin's.
Question (KO): 스티커 25장은 정현이와 예진이가 나누어 가지려고 합니다. 정현이는 예진이가 가지는 스티커의 2배보다 1장 더 가지려고 할 때 정현이는 몇 장의 스티커를 가지게 되는지 구하시오.

Answer: 17

Solution (Python):
var_a = 25
var_b = 1
var_c = var_a - var_b
var_d = 2
var_e = 1
var_f = var_d + var_e
var_g = var_c / var_f
var_h = 2
var_i = var_g * var_h
var_j = 1
var_k = var_i + var_j
print(int(var_k))
Category: Geometry

Question (EN): You have a box in the shape of a square prism with a height of 8 centimeters (cm), and the sum of the lengths of all edges is 104 centimeters (cm). On all sides of this box, you are going to attach pieces of colored paper in a square shape with a side length of 4 centimeters (cm) without overlapping. How many sheets of colored paper do you need in all?

Question (KO): 높이가 8센티미터(㎝)이고, 모든 모서리의 길이의 합이 104센티미터(㎝)인 사각기둥 모양의 상자가 있습니다. 이 상자의 모든 옆면에 한 변의 길이가 4센티미터(㎝)인 정사각형 모양의 색종이를 겹치지 않게 빈틈없이 붙이려고 합니다. 색종이는 모두 몇 장 필요합니까?

Answer: 18

Solution (Python):
var_a = 104
var_b = 8
var_c = 4
var_d = var_b * var_c
var_e = var_a - var_d
var_f = 4
var_g = 2
var_h = var_f * var_g
var_i = var_e / var_h
var_j = 8
var_k = var_i * var_j
var_l = 4
var_m = var_k * var_l
var_n = 4
var_o = 2
var_p = var_n ** var_o
var_q = var_m / var_p
print(int(var_q))
Category: Arithmetic calculation

Question (EN): What is the sum of the three-digit natural numbers?
Question (KO): 세 자리 자연수들의 합은 얼마인가?

Answer: 494550

Solution (Python):
var_a = 100
var_b = 999
var_c = 1
list_a = [i for i in range(var_a, var_b + 1, var_c)]
list_a = [float(i) for i in list_a]
var_d = sum(list_a)
print(int(var_d))
Category: Arithmetic calculation

Question (EN): The train covered 704 kilometers (km) in 9/45 minutes. If the speed of this train is constant, find how many kilometers (km) it traveled in 12/10 minutes.
Question (KO): 기차가 9/45분 동안 704킬로미터(㎞)를 달렸습니다. 이 기차의 빠르기가 일정하다면 12/10분 동안 달린 거리는 몇 킬로미터(㎞) 인지 구하시오.

Answer: 4224

Solution (Python):
var_a = 704
var_b = 0.2
var_c = var_a / var_b
var_d = 1.2
var_e = var_c * var_d
print(int(var_e))
Category: Arithmetic calculation

Question (EN): The new paint can was weighed 24 kilograms (kg). After using half the paint, I reweighed the can and it weighed 14 kilograms (kg). What is the weight in kilograms (kg) of the paint in the new can, excluding the weight of the can?\
Question (KO): 새 페인트 통의 무게를 쟀더니 24킬로그램(㎏)였습니다. 절반의 페인트를 사용하고 나서 통의 무게를 다시 쟀더니 14킬로그램(㎏)입니다. 통의 무게를 제외한 새 페인트 통에 담겨 있던 페인트의 무게는 몇 킬로그램(㎏)입니까?

Answer: 20

Solution (Python):
var_a = 24
var_b = 14
var_c = var_a - var_b
var_d = 2
var_e = var_c * var_d
print(int(var_e))
Category: Comparison

Question (EN): Yuna and six of her friends are standing in a line. If there are 2 people standing in front of Yuna, how many people are standing behind Yuna?
Question (KO): 유나와 친구 6명이 한 줄로 서 있습니다. 유나의 앞에 2명이 서 있다면 유나의 뒤에는 몇 명이 서 있습니까?

Answer: 4

Solution (Python):
var_a = 6
var_b = 1
var_c = var_a + var_b
var_d = 2
var_e = var_c - var_d
var_f = 1
var_g = var_e - var_f
print(int(var_g))
Category: Comparison

Question (EN): There are 4 numbers A, B, C, D and A is 27. A is 7 less than B. B is 9 greater than C. If D is twice C, what is the largest number?
Question (KO): A, B, C, D 4개의 수가 있고 A는 27입니다. A는 B보다 7 작은 수 입니다. B는 C보다 9 큰 수입니다. D가 C의 2배라면 가장 큰 수는 무엇입니까?

Answer: D

Solution (Python):
var_a = 'A'
var_b = 'B'
var_c = 'C'
var_d = 'D'
list_a= []
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_e = 27
var_f = 27
var_g = 7
var_h = var_f + var_g
var_i = 27
var_j = 7
var_k = var_i + var_j
var_l = 9
var_m = var_k - var_l
var_n = 27
var_o = 7
var_p = var_n + var_o
var_q = 9
var_r = var_p - var_q
var_s = 2
var_t = var_r * var_s
list_b= []
if "/" in str(var_t):
    var_t = eval(str(var_t))
list_b.append(var_t)
if "/" in str(var_m):
    var_m = eval(str(var_m))
list_b.append(var_m)
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_b.append(var_h)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_b.append(var_e)
list_b.reverse()
var_u = 1
list_c=list_b.copy()
list_c.sort()
var_v = list_c[-var_u]
var_w = list_b.index(var_v)+1
var_x = list_a[var_w-1]
print(var_x)
Category: Geometry

Question (EN): If the sum of the lengths of all the sides of an equilateral triangle is 18 centimeters (cm), find the length of one side of the equilateral triangle in centimeters (cm).
Question (KO): 정삼각형의 모든 변의 길이의 합이 18센티미터(㎝)일 때, 한 변의 길이는 몇 센티미터(㎝)인지 구하시오.

Answer: 6

Solution (Python):
var_a = 18
var_b = 3
var_c = var_a / var_b
print(int(var_c))
Category: Arithmetic calculation

Question (EN): Today's date is December 27, 2021, and the current time is 12:42. How many times do you have to press the number 2 key to enter today's date and time?
Question (KO): 오늘의 날짜는 2021년 12월 27일이고, 현재 시각은 12:42분입니다. 오늘의 날짜와 시간을 입력하기 위해선 숫자 2 자판을 몇 번 눌러야 합니까?

Answer: 6

Solution (Python):
var_a = 2
var_b = 0
var_c = 2
var_d = 1
var_e = 1
var_f = 2
var_g = 2
var_h = 7
var_i = 1
var_j = 2
var_k = 4
var_l = 2
list_a= []
if "/" in str(var_l):
    var_l = eval(str(var_l))
list_a.append(var_l)
if "/" in str(var_k):
    var_k = eval(str(var_k))
list_a.append(var_k)
if "/" in str(var_j):
    var_j = eval(str(var_j))
list_a.append(var_j)
if "/" in str(var_i):
    var_i = eval(str(var_i))
list_a.append(var_i)
if "/" in str(var_h):
    var_h = eval(str(var_h))
list_a.append(var_h)
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_a.append(var_g)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_a.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_m = 2
var_n = 0
var_m = int(var_m)
for i in list_a:
    i = int(i)
    if i == var_m:
        var_n = var_n + 1
print(int(var_n))
Category: Comparison

Question (EN): In 0.8, 1/2, 0.3 to less than or equal to 0.4 which is the largest or the same number?
Question (KO): 0.8, 1/2, 0.3에서 0.4보다 작거나 같은 수 중 가장 크거나 같은 수는?

Answer: 0.3

Solution (Python):
var_a = 0.8
var_b = 0.5
var_c = 0.3
list_a= []
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_d = 0.4
list_b = []
for i in list_a:
    if i <= var_d:
        list_b.append(i)
var_e = 1
list_c=list_b.copy()
list_c.sort()
var_f = list_c[-var_e]
print('{:.2f}'.format(round(var_f+1e-10,2)))