index
int64
0
5.06M
input
stringlengths
11
982
target
stringlengths
108
1.62k
condition_input_ids
listlengths
5
210
input_ids
listlengths
48
477
201
phen bought 8 books for $3.50 each. Mary bought 2 books for $3.50 each and 2 books for $4.50 each. How much money did Stephen and Mary spend on books together, in dollars?
def simple_math_problem() -> int: """ phen bought 8 books for $3.50 each. Mary bought 2 books for $3.50 each and 2 books for $4.50 each. How much money did Stephen and Mary spend on books together, in dollars? """ stephen_books = 8 mary_books_3_50 = 2 mary_books_4_50 = 2 stephen...
[ 31024, 5839, 807, 3835, 329, 720, 18, 13, 1120, 1123, 13, 5335, 5839, 362, 3835, 329, 720, 18, 13, 1120, 1123, 290, 362, 3835, 329, 720, 19, 13, 1120, 1123, 13, 1374, 881, 1637, 750, 7970, 290, 5335, 4341, 319, 3835, 1978, 11, 287...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 6566, 5839, 807, 3835, 329, 720, 18, 13, 1120, 1123, 13, 198, 220, 220, 220, 5335, 5839, 362, 3835, 329, 720, 18, 13, 1120, 1123...
202
John and his friends ordered 2 buckets of chicken, each with 30 pieces. They had 18 pieces in the fridge. If they finished all the chicken in 3 days, how many pieces of chicken did they eat each day?
def simple_math_problem() -> int: ''' John and his friends ordered 2 buckets of chicken, each with 30 pieces. They had 18 pieces in the fridge. If they finished all the chicken in 3 days, how many pieces of chicken did they eat each day? ''' buckets = 2 pieces_per_bucket = 30 pieces_in_f...
[ 7554, 290, 465, 2460, 6149, 362, 38674, 286, 9015, 11, 1123, 351, 1542, 5207, 13, 1119, 550, 1248, 5207, 287, 262, 25772, 13, 1002, 484, 5201, 477, 262, 9015, 287, 513, 1528, 11, 703, 867, 5207, 286, 9015, 750, 484, 4483, 1123, 1110...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1757, 290, 465, 2460, 6149, 362, 38674, 286, 9015, 11, 1123, 351, 1542, 5207, 13, 198, 220, 220, 220, 1119, 550, 1248, 5207, ...
203
Susan runs 5 kilometers in 35 minutes. At this speed, how long would it take her to run 8 kilometers?
def simple_math_problem() -> int: ''' Susan runs 5 kilometers in 35 minutes. At this speed, how long would it take her to run 8 kilometers? ''' distance_run = 5 time_taken = 35 distance_to_run = 8 time_needed = (time_taken / distance_run) * distance_to_run result = time_needed re...
[ 45842, 4539, 642, 18212, 287, 3439, 2431, 13, 1629, 428, 2866, 11, 703, 890, 561, 340, 1011, 607, 284, 1057, 807, 18212, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 14919, 4539, 642, 18212, 287, 3439, 2431, 13, 198, 220, 220, 220, 1629, 428, 2866, 11, 703, 890, 561, 340, 1011, 607, 284, 1...
204
To rent a car, you need to pay a daily rate of $40 and a mileage charge of $0.2 per mile. Max rented a car for 2 days and drove 150 miles. He also bought the insurance option that costs $15 per day. How much did Max pay in total for his car rental?
def simple_math_problem() -> int: """ To rent a car, you need to pay a daily rate of $40 and a mileage charge of $0.2 per mile. Max rented a car for 2 days and drove 150 miles. He also bought the insurance option that costs $15 per day. How much did Max pay in total for his car rental? """ d...
[ 2514, 5602, 257, 1097, 11, 345, 761, 284, 1414, 257, 4445, 2494, 286, 720, 1821, 290, 257, 33935, 3877, 286, 720, 15, 13, 17, 583, 10591, 13, 5436, 26399, 257, 1097, 329, 362, 1528, 290, 10357, 6640, 4608, 13, 679, 635, 5839, 262, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1675, 5602, 257, 1097, 11, 345, 761, 284, 1414, 257, 4445, 2494, 286, 720, 1821, 290, 257, 33935, 3877, 286, 720, 15, 13, 17, 58...
205
A pizza restaurant sells a large pizza for $15 and a small pizza for $10. If the restaurant sold 4 large pizzas and 6 small pizzas one day, how much money did they make?
def simple_math_problem() -> int: """ A pizza restaurant sells a large pizza for $15 and a small pizza for $10. If the restaurant sold 4 large pizzas and 6 small pizzas one day, how much money did they make? """ large_pizza_price = 15 small_pizza_price = 10 num_large_pizzas = 4 num_small...
[ 32, 14256, 7072, 16015, 257, 1588, 14256, 329, 720, 1314, 290, 257, 1402, 14256, 329, 720, 940, 13, 1002, 262, 7072, 2702, 604, 1588, 38748, 292, 290, 718, 1402, 38748, 292, 530, 1110, 11, 703, 881, 1637, 750, 484, 787, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 14256, 7072, 16015, 257, 1588, 14256, 329, 720, 1314, 290, 257, 1402, 14256, 329, 720, 940, 13, 198, 220, 220, 220, 1002, 262...
206
QUESTION 5: Alison has 68 baseball cards. She puts them all into 7 even piles. How many cards are in each pile?
def simple_math_problem() -> int: """ QUESTION 5: Alison has 68 baseball cards. She puts them all into 7 even piles. How many cards are in each pile? """ cards = 68 cards_per_pile = cards // 7 result = cards_per_pile return result
[ 35780, 2849, 642, 25, 33629, 468, 8257, 9283, 4116, 13, 1375, 7584, 606, 477, 656, 767, 772, 30935, 13, 1374, 867, 4116, 389, 287, 1123, 14540, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 43658, 2849, 642, 25, 33629, 468, 8257, 9283, 4116, 13, 198, 220, 220, 220, 1375, 7584, 606, 477, 656, 767, 772, 30935, 13, 198, ...
207
A rectangular pool measures 30 feet by 15 feet. If the pool needs to be covered with tiles measuring 2 feet by 2 feet, how many tiles are needed?
def simple_math_problem() -> int: ''' A rectangular pool measures 30 feet by 15 feet. If the pool needs to be covered with tiles measuring 2 feet by 2 feet, how many tiles are needed? ''' pool_length = 30 pool_width = 15 tile_length = 2 tile_width = 2 area_pool = pool_length * pool_w...
[ 32, 36954, 5933, 5260, 1542, 3625, 416, 1315, 3625, 13, 1002, 262, 5933, 2476, 284, 307, 5017, 351, 19867, 15964, 362, 3625, 416, 362, 3625, 11, 703, 867, 19867, 389, 2622, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 36954, 5933, 5260, 1542, 3625, 416, 1315, 3625, 13, 198, 220, 220, 220, 1002, 262, 5933, 2476, 284, 307, 5017, 351, 19867...
208
Jim and Kim bought 20 ice-creams yesterday. Today they plan to buy 25% more ice-creams than yesterday. If they plan to buy 100 ice-creams in total, how many ice-creams do they have to buy today? A concert hall has 20 rows of seats, with a walkway dividing each row into two sections. If each section fits 5 people, how m...
def simple_math_problem() -> int: ''' Jim and Kim bought 20 ice-creams yesterday. Today they plan to buy 25% more ice-creams than yesterday. If they plan to buy 100 ice-creams in total, how many ice-creams do they have to buy today? A concert hall has 20 rows of seats, with a walkway dividing each r...
[ 18050, 290, 6502, 5839, 1160, 4771, 12, 36277, 82, 7415, 13, 6288, 484, 1410, 284, 2822, 1679, 4, 517, 4771, 12, 36277, 82, 621, 7415, 13, 1002, 484, 1410, 284, 2822, 1802, 4771, 12, 36277, 82, 287, 2472, 11, 703, 867, 4771, 12, 3...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 5395, 290, 6502, 5839, 1160, 4771, 12, 36277, 82, 7415, 13, 198, 220, 220, 220, 6288, 484, 1410, 284, 2822, 1679, 4, 517, 47...
209
A rectangular plot has a length of 50 meters and a width of 30 meters. A path 2 meters wide is to be constructed outside along the perimeter. What is the area of this path?
def simple_math_problem() -> int: ''' A rectangular plot has a length of 50 meters and a width of 30 meters. A path 2 meters wide is to be constructed outside along the perimeter. What is the area of this path? ''' length = 50 width = 30 path_width = 2 new_length = length + 2 * path_...
[ 32, 36954, 7110, 468, 257, 4129, 286, 2026, 10700, 290, 257, 9647, 286, 1542, 10700, 13, 317, 3108, 362, 10700, 3094, 318, 284, 307, 12006, 2354, 1863, 262, 25317, 13, 1867, 318, 262, 1989, 286, 428, 3108, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 36954, 7110, 468, 257, 4129, 286, 2026, 10700, 290, 257, 9647, 286, 1542, 10700, 13, 198, 220, 220, 220, 317, 3108, 362, ...
210
Monica has a box of 69 pencils. She gave 11 pencils to Jane, and James received 18 pencils. How many pencils are left in the box?
def simple_math_problem() -> int: """ Monica has a box of 69 pencils. She gave 11 pencils to Jane, and James received 18 pencils. How many pencils are left in the box? """ total_pencil = 69 pencil_given_to_jane = 11 pencil_given_to_james = 18 pencil_left = total_pencil - pencil_...
[ 9069, 3970, 468, 257, 3091, 286, 8644, 21613, 82, 13, 1375, 2921, 1367, 21613, 82, 284, 12091, 11, 290, 3700, 2722, 1248, 21613, 82, 13, 1374, 867, 21613, 82, 389, 1364, 287, 262, 3091, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 23240, 468, 257, 3091, 286, 8644, 21613, 82, 13, 198, 220, 220, 220, 1375, 2921, 1367, 21613, 82, 284, 12091, 11, 290, 3700, 2722,...
211
Ethan has 80 stickers. He wants to divide them equally among his 10 friends and keep 3 for himself. How many stickers will each person get?
def simple_math_problem() -> int: ''' Ethan has 80 stickers. He wants to divide them equally among his 10 friends and keep 3 for himself. How many stickers will each person get? ''' stickers_per_friend = (80 - 3) // 10 result = stickers_per_friend return result
[ 36, 14813, 468, 4019, 28568, 13, 679, 3382, 284, 14083, 606, 8603, 1871, 465, 838, 2460, 290, 1394, 513, 329, 2241, 13, 1374, 867, 28568, 481, 1123, 1048, 651, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 28926, 468, 4019, 28568, 13, 198, 220, 220, 220, 679, 3382, 284, 14083, 606, 8603, 1871, 465, 838, 2460, 290, 1394, 513, 329, ...
212
A stationary store decides to shut down and sell off all of its items. They have 800 pieces of stationary that would normally cost $10 each. They offer a 90% discount but only sell 60% of the stationary. After paying off their debts, what is the amount of money they have left?
def simple_math_problem() -> int: ''' A stationary store decides to shut down and sell off all of its items. They have 800 pieces of stationary that would normally cost $10 each. They offer a 90% discount but only sell 60% of the stationary. After paying off their debts, what is the amount of money ...
[ 32, 31607, 3650, 13267, 284, 4423, 866, 290, 3677, 572, 477, 286, 663, 3709, 13, 1119, 423, 10460, 5207, 286, 31607, 326, 561, 7685, 1575, 720, 940, 1123, 13, 1119, 2897, 257, 4101, 4, 9780, 475, 691, 3677, 3126, 4, 286, 262, 31607,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 31607, 3650, 13267, 284, 4423, 866, 290, 3677, 572, 477, 286, 663, 3709, 13, 198, 220, 220, 220, 1119, 423, 10460, 5207, ...
213
A car drives at 60 miles per hour for 2 hours. What is the total distance travelled by the car in this time?
def simple_math_problem() -> int: """ A car drives at 60 miles per hour for 2 hours. What is the total distance travelled by the car in this time? """ speed = 60 time = 2 result = speed * time return result
[ 32, 1097, 10182, 379, 3126, 4608, 583, 1711, 329, 362, 2250, 13, 1867, 318, 262, 2472, 5253, 21650, 416, 262, 1097, 287, 428, 640, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 1097, 10182, 379, 3126, 4608, 583, 1711, 329, 362, 2250, 13, 198, 220, 220, 220, 1867, 318, 262, 2472, 5253, 21650, 416, 262,...
214
Eric is learning how to bake and he wants to bake 3 dozen cookies. How many cookies will he need to bake?
def simple_math_problem() -> int: """ Eric is learning how to bake and he wants to bake 3 dozen cookies. How many cookies will he need to bake? """ total_cookies = 3 * 12 result = 36 return result
[ 25004, 318, 4673, 703, 284, 28450, 290, 339, 3382, 284, 28450, 513, 8667, 14746, 13, 1374, 867, 14746, 481, 339, 761, 284, 28450, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 7651, 318, 4673, 703, 284, 28450, 290, 339, 3382, 284, 28450, 513, 8667, 14746, 13, 198, 220, 220, 220, 1374, 867, 14746, 481, 339...
215
If there were 40 seats available on a train last week, but only 30 seats available this week, how many less passengers can the train hold this week compared to last week?
def simple_math_problem() -> int: ''' If there were 40 seats available on a train last week, but only 30 seats available this week, how many less passengers can the train hold this week compared to last week? ''' last_week_seats = 40 this_week_seats = 30 passengers_difference = last_week_se...
[ 1532, 612, 547, 2319, 8632, 1695, 319, 257, 4512, 938, 1285, 11, 475, 691, 1542, 8632, 1695, 428, 1285, 11, 703, 867, 1342, 10405, 460, 262, 4512, 1745, 428, 1285, 3688, 284, 938, 1285, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1002, 612, 547, 2319, 8632, 1695, 319, 257, 4512, 938, 1285, 11, 475, 691, 1542, 8632, 1695, 428, 1285, 11, 703, 867, 1342, ...
216
Student: Sam has 15 marbles and he wants to divide them equally among 5 friends. How many marbles does each friend get?
def simple_math_problem() -> int: """ Student: Sam has 15 marbles and he wants to divide them equally among 5 friends. How many marbles does each friend get? """ marbles = 15 friends = 5 marbles_per_friend = marbles // friends remaining_marbles = marbles % friends result = marbles_pe...
[ 38778, 25, 3409, 468, 1315, 1667, 7689, 290, 339, 3382, 284, 14083, 606, 8603, 1871, 642, 2460, 13, 1374, 867, 1667, 7689, 857, 1123, 1545, 651, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 3409, 468, 1315, 1667, 7689, 290, 339, 3382, 284, 14083, 606, 8603, 1871, 642, 2460, 13, 198, 220, 220, 220, 1374, 867,...
217
If it takes Tom thrice as long to solve a math exam as it takes him to solve a single problem, and he can solve a single problem in 5 minutes, how many questions can he solve in 2 hours if he spent 30 minutes reviewing the exam paper?
def simple_math_problem() -> int: ''' If it takes Tom thrice as long to solve a math exam as it takes him to solve a single problem, and he can solve a single problem in 5 minutes, how many questions can he solve in 2 hours if he spent 30 minutes reviewing the exam paper? ''' time_per_problem = 5 ti...
[ 1532, 340, 2753, 4186, 5636, 501, 355, 890, 284, 8494, 257, 10688, 2814, 355, 340, 2753, 683, 284, 8494, 257, 2060, 1917, 11, 290, 339, 460, 8494, 257, 2060, 1917, 287, 642, 2431, 11, 703, 867, 2683, 460, 339, 8494, 287, 362, 2250, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1002, 340, 2753, 4186, 5636, 501, 355, 890, 284, 8494, 257, 10688, 2814, 355, 340, 2753, 683, 284, 8494, 257, 2060, 1917, 11, ...
218
Sonia has $500 and she decides to invest half of her money in stocks, which she holds for a month, while the remaining half she deposits in a savings account at a bank that pays 3% interest per annum. How much money does she have at the end of the month?
def simple_math_problem() -> int: ''' Sonia has $500 and she decides to invest half of her money in stocks, which she holds for a month, while the remaining half she deposits in a savings account at a bank that pays 3% interest per annum. How much money does she have at the end of the month? ''' sav...
[ 50, 11339, 468, 720, 4059, 290, 673, 13267, 284, 1325, 2063, 286, 607, 1637, 287, 14420, 11, 543, 673, 6622, 329, 257, 1227, 11, 981, 262, 5637, 2063, 673, 18190, 287, 257, 10653, 1848, 379, 257, 3331, 326, 13831, 513, 4, 1393, 583,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 20733, 468, 720, 4059, 290, 673, 13267, 284, 1325, 2063, 286, 607, 1637, 287, 14420, 11, 543, 673, 6622, 329, 257, 1227, 11, ...
219
There are 412 pages in Robert's textbook. If each page contains 4 questions and he needs to answer all the questions, how many questions does Robert need to answer?
def simple_math_problem() -> int: """ There are 412 pages in Robert's textbook. If each page contains 4 questions and he needs to answer all the questions, how many questions does Robert need to answer? """ total_pages = 412 questions_per_page = 4 total_questions = total_pages * questions_pe...
[ 1858, 389, 42215, 5468, 287, 5199, 338, 28979, 13, 1002, 1123, 2443, 4909, 604, 2683, 290, 339, 2476, 284, 3280, 477, 262, 2683, 11, 703, 867, 2683, 857, 5199, 761, 284, 3280, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1318, 389, 42215, 5468, 287, 5199, 338, 28979, 13, 198, 220, 220, 220, 1002, 1123, 2443, 4909, 604, 2683, 290, 339, 2476, 284, 328...
220
George has bought 500 apples at a cost of $3 each. How much did he spend on apples?
def simple_math_problem() -> int: """ George has bought 500 apples at a cost of $3 each. How much did he spend on apples? """ cost_per_apple = 3 num_apples = 500 total_cost = 0 total_cost = cost_per_apple * num_apples result = total_cost return result
[ 20191, 468, 5839, 5323, 22514, 379, 257, 1575, 286, 720, 18, 1123, 13, 1374, 881, 750, 339, 4341, 319, 22514, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4502, 468, 5839, 5323, 22514, 379, 257, 1575, 286, 720, 18, 1123, 13, 198, 220, 220, 220, 1374, 881, 750, 339, 4341, 319, 22514, ...
221
Student: In a class of 30 students, the ratio of boys to girls is 2:3. How many boys are there?
def simple_math_problem() -> int: """ Student: In a class of 30 students, the ratio of boys to girls is 2:3. How many boys are there? """ total_students = 30 # the total number of students in the class ratio_boys_girls = 2 / 3 # the ratio of boys to girls in the class fraction_boys = ratio_b...
[ 38778, 25, 554, 257, 1398, 286, 1542, 2444, 11, 262, 8064, 286, 6510, 284, 4813, 318, 362, 25, 18, 13, 1374, 867, 6510, 389, 612, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 554, 257, 1398, 286, 1542, 2444, 11, 262, 8064, 286, 6510, 284, 4813, 318, 362, 25, 18, 13, 198, 220, 220, 220, 1374,...
222
Heather is making a grilled cheese sandwich. She wants to use 2 slices of cheese per sandwich. In a pack of cheese, there are 24 slices. How many packs of cheese will she need to make 20 sandwiches?
def simple_math_problem() -> int: ''' Heather is making a grilled cheese sandwich. She wants to use 2 slices of cheese per sandwich. In a pack of cheese, there are 24 slices. How many packs of cheese will she need to make 20 sandwiches? ''' slices_per_sandwich = 2 sandwiches_needed = 20 ...
[ 1544, 1032, 318, 1642, 257, 34240, 9891, 20433, 13, 1375, 3382, 284, 779, 362, 24314, 286, 9891, 583, 20433, 13, 554, 257, 2353, 286, 9891, 11, 612, 389, 1987, 24314, 13, 1374, 867, 15186, 286, 9891, 481, 673, 761, 284, 787, 1160, 2...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 24253, 318, 1642, 257, 34240, 9891, 20433, 13, 198, 220, 220, 220, 1375, 3382, 284, 779, 362, 24314, 286, 9891, 583, 20433, 13...
223
Alex can do 10 push-ups in 1 minute. If he wants to do 50 push-ups, how many minutes will it take him?
def simple_math_problem() -> int: ''' Alex can do 10 push-ups in 1 minute. If he wants to do 50 push-ups, how many minutes will it take him? ''' push_ups_per_minute = 10 target_push_ups = 50 minutes = target_push_ups / push_ups_per_minute result = minutes return result
[ 15309, 460, 466, 838, 4574, 12, 4739, 287, 352, 5664, 13, 1002, 339, 3382, 284, 466, 2026, 4574, 12, 4739, 11, 703, 867, 2431, 481, 340, 1011, 683, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 4422, 460, 466, 838, 4574, 12, 4739, 287, 352, 5664, 13, 198, 220, 220, 220, 1002, 339, 3382, 284, 466, 2026, 4574, 12, 4739...
224
``` A triangle has a base of 18 meters and a height of 12 meters. What is the area of the triangle?
def simple_math_problem() -> int: ''' ``` A triangle has a base of 18 meters and a height of 12 meters. What is the area of the triangle? ''' base = 18 height = 12 area = 0.5 * base * height result = area return result
[ 15506, 63, 317, 22950, 468, 257, 2779, 286, 1248, 10700, 290, 257, 6001, 286, 1105, 10700, 13, 1867, 318, 262, 1989, 286, 262, 22950, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 7559, 63, 317, 22950, 468, 257, 2779, 286, 1248, 10700, 290, 257, 6001, 286, 1105, 10700, 13, 198, 220, 220, 220, 1867, 318, ...
225
A rectangular box is 2 feet long, 3 feet wide, and 4 feet high. What is its volume?
def simple_math_problem() -> int: """ A rectangular box is 2 feet long, 3 feet wide, and 4 feet high. What is its volume? """ length = 2 width = 3 height = 4 volume = length * width * height result = volume return result
[ 32, 36954, 3091, 318, 362, 3625, 890, 11, 513, 3625, 3094, 11, 290, 604, 3625, 1029, 13, 1867, 318, 663, 6115, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 36954, 3091, 318, 362, 3625, 890, 11, 513, 3625, 3094, 11, 290, 604, 3625, 1029, 13, 198, 220, 220, 220, 1867, 318, 663, 61...
226
If Mandy is 8 years younger than Mike and their sum of ages is 34, what is Mike's age?
def simple_math_problem() -> int: ''' If Mandy is 8 years younger than Mike and their sum of ages is 34, what is Mike's age? ''' sum_ages = 34 mandy_mike_diff = (sum_ages / 2) - 8 mike_age = mandy_mike_diff + 8 result = mike_age return result
[ 1532, 337, 10757, 318, 807, 812, 7099, 621, 4995, 290, 511, 2160, 286, 9337, 318, 4974, 11, 644, 318, 4995, 338, 2479, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1002, 337, 10757, 318, 807, 812, 7099, 621, 4995, 290, 511, 2160, 286, 9337, 318, 4974, 11, 644, 318, 4995, 338, 2479, 30, 1...
227
Alex has 5 fewer books than Maria and Maria has twice the number of books as Eva. If Eva has 10 books, how many books does Alex have?
def simple_math_problem() -> int: """ Alex has 5 fewer books than Maria and Maria has twice the number of books as Eva. If Eva has 10 books, how many books does Alex have? """ books_eva = 10 books_maria = books_eva * 2 books_alex = books_maria - 5 result = books_alex return result
[ 15309, 468, 642, 7380, 3835, 621, 14200, 290, 14200, 468, 5403, 262, 1271, 286, 3835, 355, 32355, 13, 1002, 32355, 468, 838, 3835, 11, 703, 867, 3835, 857, 4422, 423, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 4422, 468, 642, 7380, 3835, 621, 14200, 290, 14200, 468, 5403, 262, 1271, 286, 3835, 355, 32355, 13, 198, 220, 220, 220, 1002, 323...
228
Michael is counting the number of seats in the auditorium. 60% of the seats are on the main level, 30% are in the balcony, and the rest are in the VIP section. If there are 50 seats in the balcony, how many seats are in the VIP section?
def simple_math_problem() -> int: ''' Michael is counting the number of seats in the auditorium. 60% of the seats are on the main level, 30% are in the balcony, and the rest are in the VIP section. If there are 50 seats in the balcony, how many seats are in the VIP section? ''' main_level_seats ...
[ 13256, 318, 14143, 262, 1271, 286, 8632, 287, 262, 30625, 1505, 13, 3126, 4, 286, 262, 8632, 389, 319, 262, 1388, 1241, 11, 1542, 4, 389, 287, 262, 29780, 11, 290, 262, 1334, 389, 287, 262, 24791, 2665, 13, 1002, 612, 389, 2026, 8...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 3899, 318, 14143, 262, 1271, 286, 8632, 287, 262, 30625, 1505, 13, 198, 220, 220, 220, 3126, 4, 286, 262, 8632, 389, 319, 26...
229
Possible questions and programs are: Ben has 3 medium pizzas, each with 6 slices. He shares them equally with his 4 friends. How many slices does each person get?
def simple_math_problem() -> int: """ Possible questions and programs are: Ben has 3 medium pizzas, each with 6 slices. He shares them equally with his 4 friends. How many slices does each person get? """ total_slices = 3 * 6 number_of_people = 5 slices_per_person = tota...
[ 47, 4733, 2683, 290, 4056, 389, 25, 3932, 468, 513, 7090, 38748, 292, 11, 1123, 351, 718, 24314, 13, 679, 7303, 606, 8603, 351, 465, 604, 2460, 13, 1374, 867, 24314, 857, 1123, 1048, 651, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 33671, 2683, 290, 4056, 389, 25, 220, 220, 3932, 468, 513, 7090, 38748, 292, 11, 1123, 351, 718, 24314, 13, 198, 220, 220, 220, ...
230
Q7) There were 22 coins in a pouch. Jim took 8 coins and added 4 back. Then he removed 12 more coins. How many coins are in the pouch now?
def simple_math_problem() -> int: """ Q7) There were 22 coins in a pouch. Jim took 8 coins and added 4 back. Then he removed 12 more coins. How many coins are in the pouch now? """ coins = 22 taken_coins = 8 added_coins = 4 removed_coins = 12 total_coins = coins + added_...
[ 48, 22, 8, 1318, 547, 2534, 10796, 287, 257, 36594, 13, 5395, 1718, 807, 10796, 290, 2087, 604, 736, 13, 3244, 339, 4615, 1105, 517, 10796, 13, 1374, 867, 10796, 389, 287, 262, 36594, 783, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1195, 22, 8, 1318, 547, 2534, 10796, 287, 257, 36594, 13, 198, 220, 220, 220, 5395, 1718, 807, 10796, 290, 2087, 604, 736, 13, 1...
231
A pizza has 8 slices. Tom and Jerry share 2 pizzas with Tom eating 3 slices and Jerry eating 2 slices. How many slices are left?
def simple_math_problem() -> int: ''' A pizza has 8 slices. Tom and Jerry share 2 pizzas with Tom eating 3 slices and Jerry eating 2 slices. How many slices are left? ''' total_slices = 8 * 2 slices_eaten = 3 + 2 slices_left = total_slices - slices_eaten result = slices_left retu...
[ 32, 14256, 468, 807, 24314, 13, 4186, 290, 13075, 2648, 362, 38748, 292, 351, 4186, 6600, 513, 24314, 290, 13075, 6600, 362, 24314, 13, 1374, 867, 24314, 389, 1364, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 14256, 468, 807, 24314, 13, 198, 220, 220, 220, 4186, 290, 13075, 2648, 362, 38748, 292, 351, 4186, 6600, 513, 24314, 290...
232
Ryan and Emily are making a salad. Ryan puts in 18 pieces of lettuce and Emily puts in half that amount. Emily also adds 5 cherry tomatoes. If they end up with a total of 28 items in their salad, how many pieces of lettuce did Emily put in?
def simple_math_problem() -> int: ''' Ryan and Emily are making a salad. Ryan puts in 18 pieces of lettuce and Emily puts in half that amount. Emily also adds 5 cherry tomatoes. If they end up with a total of 28 items in their salad, how many pieces of lettuce did Emily put in? ''' lettuce_r...
[ 21868, 290, 17608, 389, 1642, 257, 20698, 13, 6047, 7584, 287, 1248, 5207, 286, 39406, 290, 17608, 7584, 287, 2063, 326, 2033, 13, 17608, 635, 6673, 642, 23612, 23972, 13, 1002, 484, 886, 510, 351, 257, 2472, 286, 2579, 3709, 287, 511...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 6047, 290, 17608, 389, 1642, 257, 20698, 13, 198, 220, 220, 220, 6047, 7584, 287, 1248, 5207, 286, 39406, 290, 17608, 7584, 28...
233
A triangle with sides 5 cm, 12 cm, and a certain side has a perimeter of 42 cm. What is the length of the unknown side?
def simple_math_problem() -> int: ''' A triangle with sides 5 cm, 12 cm, and a certain side has a perimeter of 42 cm. What is the length of the unknown side? ''' perimeter = 42 known_sides = 5 + 12 unknown_side = perimeter - known_sides result = unknown_side return result
[ 32, 22950, 351, 5389, 642, 12067, 11, 1105, 12067, 11, 290, 257, 1728, 1735, 468, 257, 25317, 286, 5433, 12067, 13, 1867, 318, 262, 4129, 286, 262, 6439, 1735, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 22950, 351, 5389, 642, 12067, 11, 1105, 12067, 11, 290, 257, 1728, 1735, 468, 257, 25317, 286, 5433, 12067, 13, 198, 220,...
234
A bag has 10 red marbles and 8 blue marbles. If you pick 3 marbles at random, what is the probability that all 3 marbles will be red?
def simple_math_problem() -> int: ''' A bag has 10 red marbles and 8 blue marbles. If you pick 3 marbles at random, what is the probability that all 3 marbles will be red? ''' red_marbles = 10 blue_marbles = 8 total_marbles = red_marbles + blue_marbles prob_1_red = red_marbles / total_ma...
[ 32, 6131, 468, 838, 2266, 1667, 7689, 290, 807, 4171, 1667, 7689, 13, 1002, 345, 2298, 513, 1667, 7689, 379, 4738, 11, 644, 318, 262, 12867, 326, 477, 513, 1667, 7689, 481, 307, 2266, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 6131, 468, 838, 2266, 1667, 7689, 290, 807, 4171, 1667, 7689, 13, 198, 220, 220, 220, 1002, 345, 2298, 513, 1667, 7689, ...
235
A jar contains 120 red marbles, 80 blue marbles, and 100 green marbles. If a marble is chosen at random, what is the probability it will be blue?
def simple_math_problem() -> int: """ A jar contains 120 red marbles, 80 blue marbles, and 100 green marbles. If a marble is chosen at random, what is the probability it will be blue? """ total_marbles = 120 + 80 + 100 blue_marbles = 80 probability_of_blue = blue_marbles / total_marbles ...
[ 32, 17379, 4909, 7982, 2266, 1667, 7689, 11, 4019, 4171, 1667, 7689, 11, 290, 1802, 4077, 1667, 7689, 13, 1002, 257, 30623, 318, 7147, 379, 4738, 11, 644, 318, 262, 12867, 340, 481, 307, 4171, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 17379, 4909, 7982, 2266, 1667, 7689, 11, 4019, 4171, 1667, 7689, 11, 290, 1802, 4077, 1667, 7689, 13, 198, 220, 220, 220, 100...
236
A rectangular swimming pool has a length of 75 feet and a width of 50 feet. The pool is surrounded by a concrete deck that is 5 feet wide. How much area does the concrete deck cover?
def simple_math_problem() -> int: ''' A rectangular swimming pool has a length of 75 feet and a width of 50 feet. The pool is surrounded by a concrete deck that is 5 feet wide. How much area does the concrete deck cover? ''' deck_area = 4800 - 3750 result = deck_area return result
[ 32, 36954, 14899, 5933, 468, 257, 4129, 286, 5441, 3625, 290, 257, 9647, 286, 2026, 3625, 13, 383, 5933, 318, 11191, 416, 257, 10017, 6203, 326, 318, 642, 3625, 3094, 13, 1374, 881, 1989, 857, 262, 10017, 6203, 3002, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 36954, 14899, 5933, 468, 257, 4129, 286, 5441, 3625, 290, 257, 9647, 286, 2026, 3625, 13, 198, 220, 220, 220, 383, 5933, ...
237
John runs 3 km on Monday, 4 km on Tuesday, and 5 km on Wednesday. On average, how many kilometers does John run each day in a week.
def simple_math_problem() -> int: ''' John runs 3 km on Monday, 4 km on Tuesday, and 5 km on Wednesday. On average, how many kilometers does John run each day in a week. ''' total_km = 3 + 4 + 5 avg_km_per_day = total_km / 3 result = avg_km_per_day return result
[ 7554, 4539, 513, 10571, 319, 3321, 11, 604, 10571, 319, 3431, 11, 290, 642, 10571, 319, 3583, 13, 1550, 2811, 11, 703, 867, 18212, 857, 1757, 1057, 1123, 1110, 287, 257, 1285, 13, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1757, 4539, 513, 10571, 319, 3321, 11, 604, 10571, 319, 3431, 11, 290, 642, 10571, 319, 3583, 13, 198, 220, 220, 220, 1550, ...
238
A library has 30 shelves of books, each containing 50 books of different genres. On average, it takes 2 minutes to find a book of a specific genre. How long would it take to find all the books of each genre?
def simple_math_problem() -> int: ''' A library has 30 shelves of books, each containing 50 books of different genres. On average, it takes 2 minutes to find a book of a specific genre. How long would it take to find all the books of each genre? ''' num_shelves = 30 books_per_shelf = 50 ...
[ 32, 5888, 468, 1542, 20726, 286, 3835, 11, 1123, 7268, 2026, 3835, 286, 1180, 27962, 13, 1550, 2811, 11, 340, 2753, 362, 2431, 284, 1064, 257, 1492, 286, 257, 2176, 12121, 13, 1374, 890, 561, 340, 1011, 284, 1064, 477, 262, 3835, 28...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 5888, 468, 1542, 20726, 286, 3835, 11, 1123, 7268, 2026, 3835, 286, 1180, 27962, 13, 198, 220, 220, 220, 1550, 2811, 11, ...
239
Every month, Katie spends $40 on internet. If she continues to do this for 2 years, how much does she spend on internet in total?
def simple_math_problem() -> int: ''' Every month, Katie spends $40 on internet. If she continues to do this for 2 years, how much does she spend on internet in total? ''' monthly_cost = 40 total_cost = monthly_cost * 12 * 2 result = total_cost return result
[ 6109, 1227, 11, 24721, 16887, 720, 1821, 319, 5230, 13, 1002, 673, 4477, 284, 466, 428, 329, 362, 812, 11, 703, 881, 857, 673, 4341, 319, 5230, 287, 2472, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 3887, 1227, 11, 24721, 16887, 720, 1821, 319, 5230, 13, 198, 220, 220, 220, 1002, 673, 4477, 284, 466, 428, 329, 362, 812, 1...
240
arah is saving up to buy a laptop for $850. She earns $20 for each day of babysitting, and she has already saved $250. How many days of babysitting does Sarah need to do to buy her laptop?
def simple_math_problem() -> int: """ arah is saving up to buy a laptop for $850. She earns $20 for each day of babysitting, and she has already saved $250. How many days of babysitting does Sarah need to do to buy her laptop? """ days_needed = 0 money_earned = 20 money_needed = 850 - 25...
[ 23066, 318, 8914, 510, 284, 2822, 257, 13224, 329, 720, 25764, 13, 1375, 29339, 720, 1238, 329, 1123, 1110, 286, 46711, 2535, 11, 290, 673, 468, 1541, 7448, 720, 9031, 13, 1374, 867, 1528, 286, 46711, 2535, 857, 10490, 761, 284, 466, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 257, 11392, 318, 8914, 510, 284, 2822, 257, 13224, 329, 720, 25764, 13, 198, 220, 220, 220, 1375, 29339, 720, 1238, 329, 1123, 111...
241
Ava is walking up stairs to reach her office on the 10th floor. Each level has 14 steps. Each step is made up of two metal plates. By the time she reaches her floor, she has walked past 1,400 metal plates. How many levels are in the office building? Emma wants to increase her daily step count from 5,000 to 8,000 in 90 ...
def simple_math_problem() -> int: ''' Ava is walking up stairs to reach her office on the 10th floor. Each level has 14 steps. Each step is made up of two metal plates. By the time she reaches her floor, she has walked past 1,400 metal plates. How many levels are in the office building? Emma...
[ 32, 6862, 318, 6155, 510, 16046, 284, 3151, 607, 2607, 319, 262, 838, 400, 4314, 13, 5501, 1241, 468, 1478, 4831, 13, 5501, 2239, 318, 925, 510, 286, 734, 6147, 13375, 13, 2750, 262, 640, 673, 12229, 607, 4314, 11, 673, 468, 6807, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 5184, 64, 318, 6155, 510, 16046, 284, 3151, 607, 2607, 319, 262, 838, 400, 4314, 13, 198, 220, 220, 220, 5501, 1241, 468, 14...
242
At a restaurant, 70% of customers ordered burgers, while 40% ordered fries. If 30% ordered both, what percentage of customers ordered neither burgers nor fries?
def simple_math_problem() -> int: ''' At a restaurant, 70% of customers ordered burgers, while 40% ordered fries. If 30% ordered both, what percentage of customers ordered neither burgers nor fries? ''' burgers = 0.7 fries = 0.4 both = 0.3 neither = 1 - (burgers + fries - both) resul...
[ 2953, 257, 7072, 11, 4317, 4, 286, 4297, 6149, 34623, 11, 981, 2319, 4, 6149, 31757, 13, 1002, 1542, 4, 6149, 1111, 11, 644, 5873, 286, 4297, 6149, 6159, 34623, 4249, 31757, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1629, 257, 7072, 11, 4317, 4, 286, 4297, 6149, 34623, 11, 981, 2319, 4, 6149, 31757, 13, 198, 220, 220, 220, 1002, 1542, 4, ...
243
Student: David has a lemonade stand that sells lemonade for $0.25 per cup. He spends $5.00 on lemons, $3.00 on sugar, and $2.00 on cups every week. He can make 100 cups of lemonade with the ingredients he buys. He sells 80 cups of lemonade every week. How much money does he save in a week?
def simple_math_problem() -> int: """ Student: David has a lemonade stand that sells lemonade for $0.25 per cup. He spends $5.00 on lemons, $3.00 on sugar, and $2.00 on cups every week. He can make 100 cups of lemonade with the ingredients he buys. He sells 80 cups of lemonade every week. How mu...
[ 38778, 25, 3271, 468, 257, 18873, 671, 1302, 326, 16015, 18873, 671, 329, 720, 15, 13, 1495, 583, 6508, 13, 679, 16887, 720, 20, 13, 405, 319, 443, 11567, 11, 720, 18, 13, 405, 319, 7543, 11, 290, 720, 17, 13, 405, 319, 14180, 7...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 3271, 468, 257, 18873, 671, 1302, 326, 16015, 18873, 671, 329, 720, 15, 13, 1495, 583, 6508, 13, 198, 220, 220, 220, ...
244
A recipe calls for 3/4 cups of flour and 1/2 cup of sugar. If you want to double the recipe, how much of each ingredient would you need?
def simple_math_problem() -> int: ''' A recipe calls for 3/4 cups of flour and 1/2 cup of sugar. If you want to double the recipe, how much of each ingredient would you need? ''' flour = 3/4 sugar = 1/2 doubled_flour = flour * 2 doubled_sugar = sugar * 2 result = (doubled_flour, doub...
[ 32, 8364, 3848, 329, 513, 14, 19, 14180, 286, 10601, 290, 352, 14, 17, 6508, 286, 7543, 13, 1002, 345, 765, 284, 4274, 262, 8364, 11, 703, 881, 286, 1123, 18734, 561, 345, 761, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 8364, 3848, 329, 513, 14, 19, 14180, 286, 10601, 290, 352, 14, 17, 6508, 286, 7543, 13, 198, 220, 220, 220, 1002, 345, ...
245
Emma does a 20 minute yoga routine every day to maintain her health. She does yoga on Monday, Wednesday, and Friday. On Friday, she did yoga for 8 minutes. On Wednesday, she did twice as long as on Monday. How long did she do yoga on Monday?
def simple_math_problem() -> int: ''' Emma does a 20 minute yoga routine every day to maintain her health. She does yoga on Monday, Wednesday, and Friday. On Friday, she did yoga for 8 minutes. On Wednesday, she did twice as long as on Monday. How long did she do yoga on Monday? ''' mond...
[ 10161, 2611, 857, 257, 1160, 5664, 20351, 8027, 790, 1110, 284, 5529, 607, 1535, 13, 1375, 857, 20351, 319, 3321, 11, 3583, 11, 290, 3217, 13, 1550, 3217, 11, 673, 750, 20351, 329, 807, 2431, 13, 1550, 3583, 11, 673, 750, 5403, 355,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 18966, 857, 257, 1160, 5664, 20351, 8027, 790, 1110, 284, 5529, 607, 1535, 13, 198, 220, 220, 220, 1375, 857, 20351, 319, 3321...
246
If David has to pay $15/month for 250 minutes of talk time and $0.10/minute for every additional minute, how much will he need to pay for 400 minutes of talk time?
def simple_math_problem() -> int: ''' If David has to pay $15/month for 250 minutes of talk time and $0.10/minute for every additional minute, how much will he need to pay for 400 minutes of talk time? ''' minutes_included = 250 additional_minutes = 400 - minutes_included additional_cost = addit...
[ 1532, 3271, 468, 284, 1414, 720, 1314, 14, 8424, 329, 8646, 2431, 286, 1561, 640, 290, 720, 15, 13, 940, 14, 11374, 329, 790, 3224, 5664, 11, 703, 881, 481, 339, 761, 284, 1414, 329, 7337, 2431, 286, 1561, 640, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1002, 3271, 468, 284, 1414, 720, 1314, 14, 8424, 329, 8646, 2431, 286, 1561, 640, 290, 720, 15, 13, 940, 14, 11374, 329, 790...
247
There are 12 eggs in a carton. If 2 cartons are used, how many eggs are left?
def simple_math_problem() -> int: ''' There are 12 eggs in a carton. If 2 cartons are used, how many eggs are left? ''' eggs_per_carton = 12 cartons_used = 2 total_eggs = eggs_per_carton*cartons_used eggs_left = total_eggs - eggs_per_carton result = eggs_left return result
[ 1858, 389, 1105, 9653, 287, 257, 6383, 261, 13, 1002, 362, 6383, 684, 389, 973, 11, 703, 867, 9653, 389, 1364, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1318, 389, 1105, 9653, 287, 257, 6383, 261, 13, 198, 220, 220, 220, 1002, 362, 6383, 684, 389, 973, 11, 703, 867, 9653, 389,...
248
Anna and her friends are promoting an upcoming concert. They have printed out 750 flyers to distribute. David gave out 100 flyers, Lucy gave out 150, and Anna handed out the rest. What percentage of the flyers did Anna distribute?
def simple_math_problem() -> int: ''' Anna and her friends are promoting an upcoming concert. They have printed out 750 flyers to distribute. David gave out 100 flyers, Lucy gave out 150, and Anna handed out the rest. What percentage of the flyers did Anna distribute? ''' total_flyers = 750 ...
[ 31160, 290, 607, 2460, 389, 11560, 281, 7865, 10010, 13, 1119, 423, 10398, 503, 19683, 45112, 284, 14983, 13, 3271, 2921, 503, 1802, 45112, 11, 22162, 2921, 503, 6640, 11, 290, 11735, 10158, 503, 262, 1334, 13, 1867, 5873, 286, 262, 4...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 11735, 290, 607, 2460, 389, 11560, 281, 7865, 10010, 13, 198, 220, 220, 220, 1119, 423, 10398, 503, 19683, 45112, 284, 14983, ...
249
Student: Tom had 24 candies and he gave away some to his friends. He kept one-third of the candies for himself and divided the rest equally among 6 friends. How many candies did each friend get?
def simple_math_problem() -> int: """ Student: Tom had 24 candies and he gave away some to his friends. He kept one-third of the candies for himself and divided the rest equally among 6 friends. How many candies did each friend get? """ total_candies = 24 # total number of candies candies_fo...
[ 38778, 25, 4186, 550, 1987, 2658, 444, 290, 339, 2921, 1497, 617, 284, 465, 2460, 13, 679, 4030, 530, 12, 17089, 286, 262, 2658, 444, 329, 2241, 290, 9086, 262, 1334, 8603, 1871, 718, 2460, 13, 1374, 867, 2658, 444, 750, 1123, 1545,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 4186, 550, 1987, 2658, 444, 290, 339, 2921, 1497, 617, 284, 465, 2460, 13, 198, 220, 220, 220, 679, 4030, 530, 12, 17...
250
Madison bakes a cake and would like to divide it evenly into 16 pieces. What angle does she need to cut the cake at so that it can be divided evenly?
def simple_math_problem() -> int: """ Madison bakes a cake and would like to divide it evenly into 16 pieces. What angle does she need to cut the cake at so that it can be divided evenly? """ number_of_pieces = 16 angle_of_cut = 360 / number_of_pieces result = angle_of_cut ret...
[ 46845, 275, 1124, 257, 12187, 290, 561, 588, 284, 14083, 340, 21894, 656, 1467, 5207, 13, 1867, 9848, 857, 673, 761, 284, 2005, 262, 12187, 379, 523, 326, 340, 460, 307, 9086, 21894, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 14909, 275, 1124, 257, 12187, 290, 561, 588, 284, 14083, 340, 21894, 656, 1467, 5207, 13, 198, 220, 220, 220, 1867, 9848, 857, 673...
251
Possible questions and programs are: Kevin and Leah both participated in a spelling bee contest with 30 words. Kevin spelled 5 words wrong and Leah spelled 3 more words wrong than half the number of words Kevin spelled right. How many words did Leah spell wrong?
def simple_math_problem() -> int: """ Possible questions and programs are: Kevin and Leah both participated in a spelling bee contest with 30 words. Kevin spelled 5 words wrong and Leah spelled 3 more words wrong than half the number of words Kevin spelled right. How many words did Leah spell wrong? ...
[ 47, 4733, 2683, 290, 4056, 389, 25, 7939, 290, 31232, 1111, 14888, 287, 257, 24993, 20697, 8414, 351, 1542, 2456, 13, 7939, 32213, 642, 2456, 2642, 290, 31232, 32213, 513, 517, 2456, 2642, 621, 2063, 262, 1271, 286, 2456, 7939, 32213, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 33671, 2683, 290, 4056, 389, 25, 220, 220, 7939, 290, 31232, 1111, 14888, 287, 257, 24993, 20697, 8414, 351, 1542, 2456, 13, 198, ...
252
A jewelry store sells $2000 worth of jewelry every day. If they want to make $250,000 in an entire year, how much more money per day should they make selling jewelry?
def simple_math_problem() -> int: ''' A jewelry store sells $2000 worth of jewelry every day. If they want to make $250,000 in an entire year, how much more money per day should they make selling jewelry? ''' jewelry_sold_per_day = 2000 total_days_in_a_year = 365 target_yearly_income = 25000...
[ 32, 22634, 3650, 16015, 720, 11024, 2861, 286, 22634, 790, 1110, 13, 1002, 484, 765, 284, 787, 720, 9031, 11, 830, 287, 281, 2104, 614, 11, 703, 881, 517, 1637, 583, 1110, 815, 484, 787, 6301, 22634, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 22634, 3650, 16015, 720, 11024, 2861, 286, 22634, 790, 1110, 13, 198, 220, 220, 220, 1002, 484, 765, 284, 787, 720, 9031,...
253
A pizza is cut into 8 equal slices. If 3 people eat 2 slices each, how many slices are left?
def simple_math_problem() -> int: """ A pizza is cut into 8 equal slices. If 3 people eat 2 slices each, how many slices are left? """ total_slices = 8 people = 3 slices_eaten = people * 2 slices_left = total_slices - slices_eaten result = slices_left return result
[ 32, 14256, 318, 2005, 656, 807, 4961, 24314, 13, 1002, 513, 661, 4483, 362, 24314, 1123, 11, 703, 867, 24314, 389, 1364, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 14256, 318, 2005, 656, 807, 4961, 24314, 13, 198, 220, 220, 220, 1002, 513, 661, 4483, 362, 24314, 1123, 11, 703, 867, 24314,...
254
Max is a store owner. He buys 5 gizmos from a wholesaler, each costing $30. When he resells them, he charges a total of $185, including a 7.5% sales tax. How much did Max initially pay to the wholesaler?
def simple_math_problem() -> int: """ Max is a store owner. He buys 5 gizmos from a wholesaler, each costing $30. When he resells them, he charges a total of $185, including a 7.5% sales tax. How much did Max initially pay to the wholesaler? """ total_cost = 185 # total money spent including...
[ 11518, 318, 257, 3650, 4870, 13, 679, 24779, 642, 308, 528, 16785, 422, 257, 17950, 36213, 11, 1123, 25894, 720, 1270, 13, 1649, 339, 1599, 297, 82, 606, 11, 339, 4530, 257, 2472, 286, 720, 21652, 11, 1390, 257, 767, 13, 20, 4, 42...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5436, 318, 257, 3650, 4870, 13, 198, 220, 220, 220, 679, 24779, 642, 308, 528, 16785, 422, 257, 17950, 36213, 11, 1123, 25894, 720...
255
A bottle of water contains 750 ml of water. If Alex drinks 25% of the water, how much water remains in the bottle?
def simple_math_problem() -> int: ''' A bottle of water contains 750 ml of water. If Alex drinks 25% of the water, how much water remains in the bottle? ''' water_bottle = 750 drunk_percent = 0.25 drunk_water = water_bottle * drunk_percent remaining_water = water_bottle - drunk_water ...
[ 32, 9294, 286, 1660, 4909, 19683, 25962, 286, 1660, 13, 1002, 4422, 11758, 1679, 4, 286, 262, 1660, 11, 703, 881, 1660, 3793, 287, 262, 9294, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 9294, 286, 1660, 4909, 19683, 25962, 286, 1660, 13, 198, 220, 220, 220, 1002, 4422, 11758, 1679, 4, 286, 262, 1660, 11, ...
256
Lily and Sam were painting pictures for a school project. They had two cans of paint, one red and one blue. Each can had 500 ml of paint. Lily used 150 ml of red paint and 100 ml of blue paint. Sam mixed 100 ml of red paint and 200 ml of blue paint to make purple paint. How much more paint did Sam use than Lily?
def simple_math_problem() -> int: ''' Lily and Sam were painting pictures for a school project. They had two cans of paint, one red and one blue. Each can had 500 ml of paint. Lily used 150 ml of red paint and 100 ml of blue paint. Sam mixed 100 ml of red paint and 200 ml of blue paint to make p...
[ 43, 813, 290, 3409, 547, 12036, 5986, 329, 257, 1524, 1628, 13, 1119, 550, 734, 23916, 286, 7521, 11, 530, 2266, 290, 530, 4171, 13, 5501, 460, 550, 5323, 25962, 286, 7521, 13, 20037, 973, 6640, 25962, 286, 2266, 7521, 290, 1802, 25...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 20037, 290, 3409, 547, 12036, 5986, 329, 257, 1524, 1628, 13, 198, 220, 220, 220, 1119, 550, 734, 23916, 286, 7521, 11, 530, ...
257
A car traveled 150 miles on a full tank of gas. If the gas tank can hold up to 18 gallons of gas, what is the gas mileage (miles per gallon) for this car?
def simple_math_problem() -> int: ''' A car traveled 150 miles on a full tank of gas. If the gas tank can hold up to 18 gallons of gas, what is the gas mileage (miles per gallon) for this car? ''' distance = 150 gas_tank_capacity = 18 gas_mileage = distance / gas_tank_capacity result = g...
[ 32, 1097, 14113, 6640, 4608, 319, 257, 1336, 6873, 286, 3623, 13, 1002, 262, 3623, 6873, 460, 1745, 510, 284, 1248, 23239, 286, 3623, 11, 644, 318, 262, 3623, 33935, 357, 76, 2915, 583, 26860, 8, 329, 428, 1097, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1097, 14113, 6640, 4608, 319, 257, 1336, 6873, 286, 3623, 13, 198, 220, 220, 220, 1002, 262, 3623, 6873, 460, 1745, 510, ...
258
John saved $40 every month. After 8 months, he decided to spend half of his savings, and then he found that he had $40 left. How much did he save in total?
def simple_math_problem() -> int: """ John saved $40 every month. After 8 months, he decided to spend half of his savings, and then he found that he had $40 left. How much did he save in total? """ savings_per_month = 40 months_saved = 8 total_savings = savings_per_month * months_saved ...
[ 7554, 7448, 720, 1821, 790, 1227, 13, 2293, 807, 1933, 11, 339, 3066, 284, 4341, 2063, 286, 465, 10653, 11, 290, 788, 339, 1043, 326, 339, 550, 720, 1821, 1364, 13, 1374, 881, 750, 339, 3613, 287, 2472, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1757, 7448, 720, 1821, 790, 1227, 13, 198, 220, 220, 220, 2293, 807, 1933, 11, 339, 3066, 284, 4341, 2063, 286, 465, 10653, 11, ...
259
Jane has 48 apples, and she gave some to her friends. If she gave away 1/6 of her apples, how many apples are left with her?
def simple_math_problem() -> int: ''' Jane has 48 apples, and she gave some to her friends. If she gave away 1/6 of her apples, how many apples are left with her? ''' apples = 48 gave_away = apples / 6 left = apples - gave_away result = left return result
[ 41083, 468, 4764, 22514, 11, 290, 673, 2921, 617, 284, 607, 2460, 13, 1002, 673, 2921, 1497, 352, 14, 21, 286, 607, 22514, 11, 703, 867, 22514, 389, 1364, 351, 607, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 12091, 468, 4764, 22514, 11, 290, 673, 2921, 617, 284, 607, 2460, 13, 198, 220, 220, 220, 1002, 673, 2921, 1497, 352, 14, 21...
260
A company produces 500 units of product A per day. If they improve their production by 20%, how many units will they produce per day?
def simple_math_problem() -> int: ''' A company produces 500 units of product A per day. If they improve their production by 20%, how many units will they produce per day? ''' production_increase = 0.2 #20% increase production2 = 500 * (1 + production_increase) result = round(production2) ...
[ 32, 1664, 11073, 5323, 4991, 286, 1720, 317, 583, 1110, 13, 1002, 484, 2987, 511, 3227, 416, 1160, 7441, 703, 867, 4991, 481, 484, 4439, 583, 1110, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1664, 11073, 5323, 4991, 286, 1720, 317, 583, 1110, 13, 198, 220, 220, 220, 1002, 484, 2987, 511, 3227, 416, 1160, 7441, ...
261
Denise has 8 boxes of apples. Each box has 10 apples inside. How many apples does Denise have in total?
def simple_math_problem() -> int: """ Denise has 8 boxes of apples. Each box has 10 apples inside. How many apples does Denise have in total? """ num_boxes = 8 num_apples = 10 total_apples = num_boxes * num_apples result = total_apples return result
[ 21306, 786, 468, 807, 10559, 286, 22514, 13, 5501, 3091, 468, 838, 22514, 2641, 13, 1374, 867, 22514, 857, 43596, 423, 287, 2472, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 43596, 468, 807, 10559, 286, 22514, 13, 198, 220, 220, 220, 5501, 3091, 468, 838, 22514, 2641, 13, 198, 220, 220, 220, 1374, 867, ...
262
Aidan wants to save up for a new camera, which costs $700. He has $200 saved up and gets paid $8 per hour working a part-time job. How many hours will he need to work to have enough money for the camera?
def simple_math_problem() -> int: """ Aidan wants to save up for a new camera, which costs $700. He has $200 saved up and gets paid $8 per hour working a part-time job. How many hours will he need to work to have enough money for the camera? """ hourly_wage = 8 camera_cost = 700 current_...
[ 32, 27610, 3382, 284, 3613, 510, 329, 257, 649, 4676, 11, 543, 3484, 720, 9879, 13, 679, 468, 720, 2167, 7448, 510, 290, 3011, 3432, 720, 23, 583, 1711, 1762, 257, 636, 12, 2435, 1693, 13, 1374, 867, 2250, 481, 339, 761, 284, 670,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 22225, 272, 3382, 284, 3613, 510, 329, 257, 649, 4676, 11, 543, 3484, 720, 9879, 13, 198, 220, 220, 220, 679, 468, 720, 2167, 74...
263
A housing complex has 100 apartments. If each apartment has 3 bedrooms and 4 people live in each bedroom, how many people live in total in the complex?
def simple_math_problem() -> int: ''' A housing complex has 100 apartments. If each apartment has 3 bedrooms and 4 people live in each bedroom, how many people live in total in the complex? ''' total_apartments = 100 bedrooms_per_apartment = 3 people_per_bedroom = 4 total_people = total_...
[ 32, 5627, 3716, 468, 1802, 19592, 13, 1002, 1123, 7962, 468, 513, 38529, 290, 604, 661, 2107, 287, 1123, 14043, 11, 703, 867, 661, 2107, 287, 2472, 287, 262, 3716, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 5627, 3716, 468, 1802, 19592, 13, 198, 220, 220, 220, 1002, 1123, 7962, 468, 513, 38529, 290, 604, 661, 2107, 287, 1123, ...
264
At the pet store, Marcus had 25 fish. After selling half of them, he then bought 12 more fish. After his cat ate 3 fish and he returned 2 back to the store, how many fish does Marcus have left? In John's cooking class, there are 25 students and 5 instructors. John has 10 aprons on hand. If 30% of his students brought t...
def simple_math_problem() -> int: ''' At the pet store, Marcus had 25 fish. After selling half of them, he then bought 12 more fish. After his cat ate 3 fish and he returned 2 back to the store, how many fish does Marcus have left? In John's cooking class, there are 25 students and 5 instructors. ...
[ 2953, 262, 4273, 3650, 11, 17068, 550, 1679, 5916, 13, 2293, 6301, 2063, 286, 606, 11, 339, 788, 5839, 1105, 517, 5916, 13, 2293, 465, 3797, 15063, 513, 5916, 290, 339, 4504, 362, 736, 284, 262, 3650, 11, 703, 867, 5916, 857, 17068,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 1629, 262, 4273, 3650, 11, 17068, 550, 1679, 5916, 13, 198, 220, 220, 220, 2293, 6301, 2063, 286, 606, 11, 339, 788, 5839, 1...
265
Q3: Mary has a store with 30 shelves, each shelf has 5 boxes. Each box has 8 items. How many items are there in all?
def simple_math_problem() -> int: """ Q3: Mary has a store with 30 shelves, each shelf has 5 boxes. Each box has 8 items. How many items are there in all? """ total_items = 0 for shelves in range(1, 31): # For each shelf for boxes in range(1, 6): ...
[ 48, 18, 25, 5335, 468, 257, 3650, 351, 1542, 20726, 11, 1123, 18316, 468, 642, 10559, 13, 5501, 3091, 468, 807, 3709, 13, 1374, 867, 3709, 389, 612, 287, 477, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1195, 18, 25, 5335, 468, 257, 3650, 351, 1542, 20726, 11, 1123, 18316, 468, 642, 10559, 13, 198, 220, 220, 220, 5501, 3091, 468, ...
266
A company offers a bonus of $500 to any employee who brings in a customer who purchases at least $1,000 worth of products. If John just brought in a customer who purchased $2,500 worth of products, how much will he receive as a bonus?
def simple_math_problem() -> int: ''' A company offers a bonus of $500 to any employee who brings in a customer who purchases at least $1,000 worth of products. If John just brought in a customer who purchased $2,500 worth of products, how much will he receive as a bonus? ''' purchase_amount = 2500 ...
[ 32, 1664, 4394, 257, 7202, 286, 720, 4059, 284, 597, 6538, 508, 6774, 287, 257, 6491, 508, 13339, 379, 1551, 720, 16, 11, 830, 2861, 286, 3186, 13, 1002, 1757, 655, 3181, 287, 257, 6491, 508, 8155, 720, 17, 11, 4059, 2861, 286, 31...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1664, 4394, 257, 7202, 286, 720, 4059, 284, 597, 6538, 508, 6774, 287, 257, 6491, 508, 13339, 379, 1551, 720, 16, 11, 8...
267
At a store, a 10-pack of pens costs $5.50 and a 20-pack of pens costs $10. How much does a 30-pack of pens cost?
def simple_math_problem() -> int: """ At a store, a 10-pack of pens costs $5.50 and a 20-pack of pens costs $10. How much does a 30-pack of pens cost? """ numPens10Pack = 10 cost10Pack = 5.50 numPens20Pack = 20 cost20Pack = 10 numPens30Pack = 30 cost30Pack = (cost10Pack*(numPens3...
[ 2953, 257, 3650, 11, 257, 838, 12, 8002, 286, 29707, 3484, 720, 20, 13, 1120, 290, 257, 1160, 12, 8002, 286, 29707, 3484, 720, 940, 13, 1374, 881, 857, 257, 1542, 12, 8002, 286, 29707, 1575, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1629, 257, 3650, 11, 257, 838, 12, 8002, 286, 29707, 3484, 720, 20, 13, 1120, 290, 257, 1160, 12, 8002, 286, 29707, 3484, 720, 9...
268
Student: A salesperson earns a 10% commission on every sale. How much in sales does the salesperson need to make to earn $500 in commission?
def simple_math_problem() -> int: """ Student: A salesperson earns a 10% commission on every sale. How much in sales does the salesperson need to make to earn $500 in commission? """ commission = 500 percentage = 0.1 sales = commission / percentage result = sales return result
[ 38778, 25, 317, 4200, 6259, 29339, 257, 838, 4, 5810, 319, 790, 5466, 13, 1374, 881, 287, 4200, 857, 262, 4200, 6259, 761, 284, 787, 284, 5160, 720, 4059, 287, 5810, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 317, 4200, 6259, 29339, 257, 838, 4, 5810, 319, 790, 5466, 13, 198, 220, 220, 220, 1374, 881, 287, 4200, 857, 262, 42...
269
A family splits the cost of their weekly shopping trip equally. They spent $56 on groceries and $32 on toiletries. If one family member paid $24 in total, what was the total value of their shopping expenses for the week?
def simple_math_problem() -> int: ''' A family splits the cost of their weekly shopping trip equally. They spent $56 on groceries and $32 on toiletries. If one family member paid $24 in total, what was the total value of their shopping expenses for the week? ''' groceries = 56 toiletries = 3...
[ 32, 1641, 30778, 262, 1575, 286, 511, 10273, 9735, 5296, 8603, 13, 1119, 3377, 720, 3980, 319, 38464, 290, 720, 2624, 319, 16146, 1678, 13, 1002, 530, 1641, 2888, 3432, 720, 1731, 287, 2472, 11, 644, 373, 262, 2472, 1988, 286, 511, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1641, 30778, 262, 1575, 286, 511, 10273, 9735, 5296, 8603, 13, 198, 220, 220, 220, 1119, 3377, 720, 3980, 319, 38464, 290...
270
Kevin has a box of cookies to share with his study group. The box has 24 cookies. He brings 3 total boxes. His study group decide that for every box he brings, they will bring one more identical one. There are 18 students in the study group. How many cookies does each student get?
def simple_math_problem() -> int: ''' Kevin has a box of cookies to share with his study group. The box has 24 cookies. He brings 3 total boxes. His study group decide that for every box he brings, they will bring one more identical one. There are 18 students in the study group. How many coo...
[ 23865, 468, 257, 3091, 286, 14746, 284, 2648, 351, 465, 2050, 1448, 13, 383, 3091, 468, 1987, 14746, 13, 679, 6774, 513, 2472, 10559, 13, 2399, 2050, 1448, 5409, 326, 329, 790, 3091, 339, 6774, 11, 484, 481, 2222, 530, 517, 10411, 5...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 7939, 468, 257, 3091, 286, 14746, 284, 2648, 351, 465, 2050, 1448, 13, 198, 220, 220, 220, 383, 3091, 468, 1987, 14746, 13, ...
271
Emma wants to knit a scarf for her friend. She wants 1/2 of the scarf to be blue, 30% to be green, and the remainder to be striped. If she uses 4 blue sections and 2 green sections, how many total sections will she need for a scarf that is 60 sections long?
def simple_math_problem() -> int: ''' Emma wants to knit a scarf for her friend. She wants 1/2 of the scarf to be blue, 30% to be green, and the remainder to be striped. If she uses 4 blue sections and 2 green sections, how many total sections will she need for a scarf that is 60 sections long? ''' ...
[ 10161, 2611, 3382, 284, 30495, 257, 36953, 329, 607, 1545, 13, 1375, 3382, 352, 14, 17, 286, 262, 36953, 284, 307, 4171, 11, 1542, 4, 284, 307, 4077, 11, 290, 262, 17675, 284, 307, 49807, 13, 1002, 673, 3544, 604, 4171, 9004, 290, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 18966, 3382, 284, 30495, 257, 36953, 329, 607, 1545, 13, 198, 220, 220, 220, 1375, 3382, 352, 14, 17, 286, 262, 36953, 284, ...
272
remaining_money = 3000 / (1 - 2/3) original_money = remaining_money / (1 - 1/5) result = original_money A company produced 3000 items on Monday and 5000 items on Tuesday. If the company increased its production by 50% on Wednesday, how many did they produce on Wednesday?
def simple_math_problem() -> int: """ remaining_money = 3000 / (1 - 2/3) original_money = remaining_money / (1 - 1/5) result = original_money A company produced 3000 items on Monday and 5000 items on Tuesday. If the company increased its production by 50% on Wednesday, how many did they produce on Wednesd...
[ 2787, 1397, 62, 26316, 796, 20343, 1220, 357, 16, 532, 362, 14, 18, 8, 2656, 62, 26316, 796, 5637, 62, 26316, 1220, 357, 16, 532, 352, 14, 20, 8, 1255, 796, 2656, 62, 26316, 317, 1664, 4635, 20343, 3709, 319, 3321, 290, 23336, 370...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 5637, 62, 26316, 796, 20343, 1220, 357, 16, 532, 362, 14, 18, 8, 2656, 62, 26316, 796, 5637, 62, 26316, 1220, 357, 16, 532, 352,...
273
John runs 1 mile the first day and then increased his distance by 25% for the five consecutive days. What is the total distance he runs in miles after 5 days?
def simple_math_problem() -> int: """ John runs 1 mile the first day and then increased his distance by 25% for the five consecutive days. What is the total distance he runs in miles after 5 days? """ distance = 1 for i in range(0,5): distance = distance * 1.25 result = dista...
[ 7554, 4539, 352, 10591, 262, 717, 1110, 290, 788, 3220, 465, 5253, 416, 1679, 4, 329, 262, 1936, 12785, 1528, 13, 1867, 318, 262, 2472, 5253, 339, 4539, 287, 4608, 706, 642, 1528, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1757, 4539, 352, 10591, 262, 717, 1110, 290, 788, 3220, 465, 5253, 416, 1679, 4, 329, 262, 1936, 12785, 1528, 13, 198, 220, 220, ...
274
A company's revenue in 2020 was 5 million dollars. If the revenue increased by 15%, what was the revenue in 2021?
def simple_math_problem() -> int: """ A company's revenue in 2020 was 5 million dollars. If the revenue increased by 15%, what was the revenue in 2021? """ revenue_2020 = 5000000 increase_percentage = 15 increase_amount = (increase_percentage/100)*revenue_2020 revenue_2021 = revenue_2020...
[ 32, 1664, 338, 6426, 287, 12131, 373, 642, 1510, 5054, 13, 1002, 262, 6426, 3220, 416, 1315, 7441, 644, 373, 262, 6426, 287, 33448, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 1664, 338, 6426, 287, 12131, 373, 642, 1510, 5054, 13, 198, 220, 220, 220, 1002, 262, 6426, 3220, 416, 1315, 7441, 644, 373, ...
275
A school has 300 students. If 40% of them are boys, how many girls are there in the school?
def simple_math_problem() -> int: ''' A school has 300 students. If 40% of them are boys, how many girls are there in the school? ''' percentage_of_boys = 0.4 total_students = 300 boys = percentage_of_boys * total_students girls = total_students - boys result = girls return resul...
[ 32, 1524, 468, 5867, 2444, 13, 1002, 2319, 4, 286, 606, 389, 6510, 11, 703, 867, 4813, 389, 612, 287, 262, 1524, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1524, 468, 5867, 2444, 13, 198, 220, 220, 220, 1002, 2319, 4, 286, 606, 389, 6510, 11, 703, 867, 4813, 389, 612, 287, ...
276
A jar has 100 marbles, 60% of them are red and the rest are blue. How many blue marbles are there?
def simple_math_problem() -> int: ''' A jar has 100 marbles, 60% of them are red and the rest are blue. How many blue marbles are there? ''' total_marbles = 100 red_percentage = 60 red_marbles = total_marbles * red_percentage / 100 blue_marbles = total_marbles - red_marbles result = ...
[ 32, 17379, 468, 1802, 1667, 7689, 11, 3126, 4, 286, 606, 389, 2266, 290, 262, 1334, 389, 4171, 13, 1374, 867, 4171, 1667, 7689, 389, 612, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 17379, 468, 1802, 1667, 7689, 11, 3126, 4, 286, 606, 389, 2266, 290, 262, 1334, 389, 4171, 13, 198, 220, 220, 220, 1374...
277
Student: Aiden saw a car for sale at a dealership. He has $14,800 and the car is being sold for $15,310. How much more money does Aiden need to buy the car?
def simple_math_problem() -> int: """ Student: Aiden saw a car for sale at a dealership. He has $14,800 and the car is being sold for $15,310. How much more money does Aiden need to buy the car? """ Aiden_money = 14800 Car_price = 15310 Money_needed = Car_price - Aiden_money result =...
[ 38778, 25, 317, 14029, 2497, 257, 1097, 329, 5466, 379, 257, 44843, 13, 679, 468, 720, 1415, 11, 7410, 290, 262, 1097, 318, 852, 2702, 329, 720, 1314, 11, 26717, 13, 1374, 881, 517, 1637, 857, 317, 14029, 761, 284, 2822, 262, 1097, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 317, 14029, 2497, 257, 1097, 329, 5466, 379, 257, 44843, 13, 198, 220, 220, 220, 679, 468, 720, 1415, 11, 7410, 290, ...
278
A bike messenger can pedal 10 miles in 40 minutes. After taking cycling lessons, she improves her speed by 40%. How long will it take her to pedal 20 miles?
def simple_math_problem() -> int: ''' A bike messenger can pedal 10 miles in 40 minutes. After taking cycling lessons, she improves her speed by 40%. How long will it take her to pedal 20 miles? ''' speed = 10 / (40/60) # calculate the speed in miles per hour improved_speed = speed * 1.4 # c...
[ 32, 7161, 31228, 460, 26667, 838, 4608, 287, 2319, 2431, 13, 2293, 2263, 16259, 11658, 11, 673, 19575, 607, 2866, 416, 2319, 7225, 1374, 890, 481, 340, 1011, 607, 284, 26667, 1160, 4608, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 7161, 31228, 460, 26667, 838, 4608, 287, 2319, 2431, 13, 198, 220, 220, 220, 2293, 2263, 16259, 11658, 11, 673, 19575, 60...
279
Student: If a car travels 160 miles in 4 hours, how long will it take to travel 240 miles?
def simple_math_problem() -> int: """ Student: If a car travels 160 miles in 4 hours, how long will it take to travel 240 miles? """ distance = 240 # miles speed = 160/4 # miles per hour time = distance/speed # hours result = time return result
[ 38778, 25, 1002, 257, 1097, 17781, 13454, 4608, 287, 604, 2250, 11, 703, 890, 481, 340, 1011, 284, 3067, 14956, 4608, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 1002, 257, 1097, 17781, 13454, 4608, 287, 604, 2250, 11, 703, 890, 481, 340, 1011, 284, 3067, 14956, 4608, 30, 198, 220...
280
The price of a shirt is $30. If the store marks it up by 50%, what is the selling price of the shirt?
def simple_math_problem() -> int: ''' The price of a shirt is $30. If the store marks it up by 50%, what is the selling price of the shirt? ''' cost_price = 30 markup_percentage = 50 selling_price = cost_price * (1 + markup_percentage/100) result = selling_price return result
[ 464, 2756, 286, 257, 10147, 318, 720, 1270, 13, 1002, 262, 3650, 8849, 340, 510, 416, 2026, 7441, 644, 318, 262, 6301, 2756, 286, 262, 10147, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 383, 2756, 286, 257, 10147, 318, 720, 1270, 13, 198, 220, 220, 220, 1002, 262, 3650, 8849, 340, 510, 416, 2026, 7441, 644, 3...
281
There are 3 bags of marbles, with 40 marbles in each bag. If 10 marbles are added to each bag, how many marbles are there in total?
def simple_math_problem() -> int: """ There are 3 bags of marbles, with 40 marbles in each bag. If 10 marbles are added to each bag, how many marbles are there in total? """ marbles_per_bag = 40 + 10 num_bags = 3 total_marbles = marbles_per_bag * num_bags result = total_marbles retu...
[ 1858, 389, 513, 11668, 286, 1667, 7689, 11, 351, 2319, 1667, 7689, 287, 1123, 6131, 13, 1002, 838, 1667, 7689, 389, 2087, 284, 1123, 6131, 11, 703, 867, 1667, 7689, 389, 612, 287, 2472, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1318, 389, 513, 11668, 286, 1667, 7689, 11, 351, 2319, 1667, 7689, 287, 1123, 6131, 13, 198, 220, 220, 220, 1002, 838, 1667, 7689,...
282
Alan bought a pottery set that was originally priced at $30 and went on sale for 25% off. He also paid 6% tax on the discounted price, how much did he pay in total?
def simple_math_problem() -> int: """ Alan bought a pottery set that was originally priced at $30 and went on sale for 25% off. He also paid 6% tax on the discounted price, how much did he pay in total? """ original_price = 30 discount = 25/100 tax_rate = 6/100 discount_price = original_...
[ 36235, 5839, 257, 1787, 11471, 900, 326, 373, 6198, 19744, 379, 720, 1270, 290, 1816, 319, 5466, 329, 1679, 4, 572, 13, 679, 635, 3432, 718, 4, 1687, 319, 262, 29686, 2756, 11, 703, 881, 750, 339, 1414, 287, 2472, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 12246, 5839, 257, 1787, 11471, 900, 326, 373, 6198, 19744, 379, 720, 1270, 290, 1816, 319, 5466, 329, 1679, 4, 572, 13, 198, 220, ...
283
Victoria wants to style her hair. She needs to wash it, blow dry it and then flat iron it. It takes 15 minutes to wash her hair, 20 minutes to blow dry it and 10 minutes to flat iron it. Assuming her hair is already washed and dried, how many minutes will it take Victoria to finish styling her hair?
def simple_math_problem() -> int: ''' Victoria wants to style her hair. She needs to wash it, blow dry it and then flat iron it. It takes 15 minutes to wash her hair, 20 minutes to blow dry it and 10 minutes to flat iron it. Assuming her hair is already washed and dried, how many minutes will it tak...
[ 49898, 3382, 284, 3918, 607, 4190, 13, 1375, 2476, 284, 13502, 340, 11, 6611, 5894, 340, 290, 788, 6228, 6953, 340, 13, 632, 2753, 1315, 2431, 284, 13502, 607, 4190, 11, 1160, 2431, 284, 6611, 5894, 340, 290, 838, 2431, 284, 6228, 6...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 12313, 3382, 284, 3918, 607, 4190, 13, 198, 220, 220, 220, 1375, 2476, 284, 13502, 340, 11, 6611, 5894, 340, 290, 788, 6228, ...
284
A store has 3000 items. 20% of the items are electronics and 35% are books. How many items are not electronics or books?
def simple_math_problem() -> int: """ A store has 3000 items. 20% of the items are electronics and 35% are books. How many items are not electronics or books? """ total_items = 3000 electronics = total_items * 0.2 books = total_items * 0.35 result = total_items - electronics - books ...
[ 32, 3650, 468, 20343, 3709, 13, 1160, 4, 286, 262, 3709, 389, 17075, 290, 3439, 4, 389, 3835, 13, 1374, 867, 3709, 389, 407, 17075, 393, 3835, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 3650, 468, 20343, 3709, 13, 198, 220, 220, 220, 1160, 4, 286, 262, 3709, 389, 17075, 290, 3439, 4, 389, 3835, 13, 198, 220,...
285
George owns a cow farm and each cow produces 25 cups of milk per day. If it takes 1 cup of milk to make 1 ounce of cheese and 1 ounce of cheese sells for $3, how much can George make from his cow farm in 1 month?
def simple_math_problem() -> int: ''' George owns a cow farm and each cow produces 25 cups of milk per day. If it takes 1 cup of milk to make 1 ounce of cheese and 1 ounce of cheese sells for $3, how much can George make from his cow farm in 1 month? ''' num_cows = 50 milk_per_cow = 25 ...
[ 20191, 12216, 257, 9875, 5318, 290, 1123, 9875, 11073, 1679, 14180, 286, 7545, 583, 1110, 13, 1002, 340, 2753, 352, 6508, 286, 7545, 284, 787, 352, 25799, 286, 9891, 290, 352, 25799, 286, 9891, 16015, 329, 720, 18, 11, 703, 881, 460, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 4502, 12216, 257, 9875, 5318, 290, 1123, 9875, 11073, 1679, 14180, 286, 7545, 583, 1110, 13, 198, 220, 220, 220, 1002, 340, 27...
286
There are 635 plants in a garden. Jennifer plans to water a fourth of them every day. How many plants will Jennifer water each day?
def simple_math_problem() -> int: """ There are 635 plants in a garden. Jennifer plans to water a fourth of them every day. How many plants will Jennifer water each day? """ plants_watered = 0 total_plants = 635 fraction_of_plants = 4 plants_watered = total_plants // fraction_...
[ 1858, 389, 718, 2327, 6134, 287, 257, 11376, 13, 16348, 3352, 284, 1660, 257, 5544, 286, 606, 790, 1110, 13, 1374, 867, 6134, 481, 16348, 1660, 1123, 1110, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 1318, 389, 718, 2327, 6134, 287, 257, 11376, 13, 198, 220, 220, 220, 16348, 3352, 284, 1660, 257, 5544, 286, 606, 790, 1110, 13, ...
287
Student: Giselle has a discount coupon worth 20% off on a $270 dress. What will the dress cost, in dollars, after the discount?
def simple_math_problem() -> int: """ Student: Giselle has a discount coupon worth 20% off on a $270 dress. What will the dress cost, in dollars, after the discount? """ price = 270 # price of the dress in dollars discount = 0.2 # discount rate discounted_price = price * (1 - discount) r...
[ 38778, 25, 402, 271, 13485, 468, 257, 9780, 34990, 2861, 1160, 4, 572, 319, 257, 720, 20233, 6576, 13, 1867, 481, 262, 6576, 1575, 11, 287, 5054, 11, 706, 262, 9780, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 402, 271, 13485, 468, 257, 9780, 34990, 2861, 1160, 4, 572, 319, 257, 720, 20233, 6576, 13, 198, 220, 220, 220, 1867, ...
288
A store has 1000 toys in stock. The store sells 30% of its toys and gets a new batch of 500 toys. How many toys does the store have in stock now?
def simple_math_problem() -> int: ''' A store has 1000 toys in stock. The store sells 30% of its toys and gets a new batch of 500 toys. How many toys does the store have in stock now? ''' total_toys = 1000 sold_toys = total_toys*0.30 remaining_toys = total_toys - sold_toys new_toys =...
[ 32, 3650, 468, 8576, 14958, 287, 4283, 13, 383, 3650, 16015, 1542, 4, 286, 663, 14958, 290, 3011, 257, 649, 15458, 286, 5323, 14958, 13, 1374, 867, 14958, 857, 262, 3650, 423, 287, 4283, 783, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 3650, 468, 8576, 14958, 287, 4283, 13, 198, 220, 220, 220, 383, 3650, 16015, 1542, 4, 286, 663, 14958, 290, 3011, 257, ...
289
A swimming pool is 60ft long, 20ft wide and 10ft deep. How many cubic yards of water are needed to fill the pool?
def simple_math_problem() -> int: ''' A swimming pool is 60ft long, 20ft wide and 10ft deep. How many cubic yards of water are needed to fill the pool? ''' length = 60 width = 20 depth = 10 cubic_yards_per_cubic_foot = 0.037037 total_cubic_yards = (length * width * depth) * cubic_yar...
[ 32, 14899, 5933, 318, 3126, 701, 890, 11, 1160, 701, 3094, 290, 838, 701, 2769, 13, 1374, 867, 27216, 5695, 286, 1660, 389, 2622, 284, 6070, 262, 5933, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 14899, 5933, 318, 3126, 701, 890, 11, 1160, 701, 3094, 290, 838, 701, 2769, 13, 198, 220, 220, 220, 1374, 867, 27216, 5...
290
Brian and his family are going to the beach with a total budget of $500. Brian spends $150 on a parasol and $50 on snacks and drinks, while his family spends a total of $200 on beach chairs and coolers. How much do they have left for beach activities?
def simple_math_problem() -> int: ''' Brian and his family are going to the beach with a total budget of $500. Brian spends $150 on a parasol and $50 on snacks and drinks, while his family spends a total of $200 on beach chairs and coolers. How much do they have left for beach activities? ''' to...
[ 24761, 290, 465, 1641, 389, 1016, 284, 262, 10481, 351, 257, 2472, 4466, 286, 720, 4059, 13, 8403, 16887, 720, 8628, 319, 257, 17850, 349, 290, 720, 1120, 319, 28487, 290, 11758, 11, 981, 465, 1641, 16887, 257, 2472, 286, 720, 2167, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 8403, 290, 465, 1641, 389, 1016, 284, 262, 10481, 351, 257, 2472, 4466, 286, 720, 4059, 13, 198, 220, 220, 220, 8403, 16887, ...
291
-**Do not reuse any variables in different questions** Mia is making bracelets for her friends. She has 100 beads of different colors. She wants to use 20 beads for each bracelet. She decides to make each bracelet with 5 blue beads, 4 green beads, 3 red beads, and the rest yellow beads. How many yellow beads does she n...
def simple_math_problem() -> int: ''' -**Do not reuse any variables in different questions** Mia is making bracelets for her friends. She has 100 beads of different colors. She wants to use 20 beads for each bracelet. She decides to make each bracelet with 5 blue beads, 4 green beads, 3 red beads,...
[ 12, 1174, 5211, 407, 32349, 597, 9633, 287, 1180, 2683, 1174, 32189, 318, 1642, 22581, 5289, 329, 607, 2460, 13, 1375, 468, 1802, 36116, 286, 1180, 7577, 13, 1375, 3382, 284, 779, 1160, 36116, 329, 1123, 42893, 13, 1375, 13267, 284, 7...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 532, 1174, 5211, 407, 32349, 597, 9633, 287, 1180, 2683, 1174, 220, 220, 32189, 318, 1642, 22581, 5289, 329, 607, 2460, 13, 19...
292
Mark borrowed $1,000 for 3 years at a simple interest rate of 7% per year. How much interest will Mark have to pay?
def simple_math_problem() -> int: ''' Mark borrowed $1,000 for 3 years at a simple interest rate of 7% per year. How much interest will Mark have to pay? ''' principal = 1000 rate = 7 / 100 # fraction of 7% time = 3 # years interest = principal * rate * time result = interest ret...
[ 9704, 22546, 720, 16, 11, 830, 329, 513, 812, 379, 257, 2829, 1393, 2494, 286, 767, 4, 583, 614, 13, 1374, 881, 1393, 481, 2940, 423, 284, 1414, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 2940, 22546, 720, 16, 11, 830, 329, 513, 812, 379, 257, 2829, 1393, 2494, 286, 767, 4, 583, 614, 13, 198, 220, 220, 220, 1...
293
A car travels 60 miles per hour. If the car travels for 3 hours, how far will it have gone?
def simple_math_problem() -> int: ''' A car travels 60 miles per hour. If the car travels for 3 hours, how far will it have gone? ''' miles_per_hour = 60 hours_driven = 3 total_distance = miles_per_hour * hours_driven result = f'{total_distance} miles' result = total_distance ret...
[ 32, 1097, 17781, 3126, 4608, 583, 1711, 13, 1002, 262, 1097, 17781, 329, 513, 2250, 11, 703, 1290, 481, 340, 423, 3750, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1097, 17781, 3126, 4608, 583, 1711, 13, 198, 220, 220, 220, 1002, 262, 1097, 17781, 329, 513, 2250, 11, 703, 1290, 481, ...
294
Some possible questions and programs are: Mr. Lee bought 480 oranges for his fruit stand. He sold 60% of them in the morning and 25% of the remaining ones in the afternoon. How many oranges did he have left at the end of the day?
def simple_math_problem() -> int: ''' Some possible questions and programs are: Mr. Lee bought 480 oranges for his fruit stand. He sold 60% of them in the morning and 25% of the remaining ones in the afternoon. How many oranges did he have left at the end of the day? ''' oranges = 480 # the num...
[ 4366, 1744, 2683, 290, 4056, 389, 25, 1770, 13, 5741, 5839, 23487, 48389, 329, 465, 8234, 1302, 13, 679, 2702, 3126, 4, 286, 606, 287, 262, 3329, 290, 1679, 4, 286, 262, 5637, 3392, 287, 262, 6672, 13, 1374, 867, 48389, 750, 339, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 2773, 1744, 2683, 290, 4056, 389, 25, 220, 1770, 13, 5741, 5839, 23487, 48389, 329, 465, 8234, 1302, 13, 198, 220, 220, 220, ...
295
A farmer counted a total of 90 cherry trees in his field and remembered that he planted 10 cherry trees each year for the last 9 years. How many cherry trees were already in the field before the 9 year period?
def simple_math_problem() -> int: """ A farmer counted a total of 90 cherry trees in his field and remembered that he planted 10 cherry trees each year for the last 9 years. How many cherry trees were already in the field before the 9 year period? """ total_trees = 90 trees_added_each_year = 10 ...
[ 32, 18739, 14789, 257, 2472, 286, 4101, 23612, 7150, 287, 465, 2214, 290, 12086, 326, 339, 18969, 838, 23612, 7150, 1123, 614, 329, 262, 938, 860, 812, 13, 1374, 867, 23612, 7150, 547, 1541, 287, 262, 2214, 878, 262, 860, 614, 2278, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 317, 18739, 14789, 257, 2472, 286, 4101, 23612, 7150, 287, 465, 2214, 290, 12086, 326, 339, 18969, 838, 23612, 7150, 1123, 614, 329,...
296
A company has $50,000 in profits and wants to pay a bonus to its employees. If the company has 25 employees and the total bonus is $10,000, how much will each employee receive?
def simple_math_problem() -> int: ''' A company has $50,000 in profits and wants to pay a bonus to its employees. If the company has 25 employees and the total bonus is $10,000, how much will each employee receive? ''' bonus_per_employee = 10000 / 25 result = bonus_per_employee return result...
[ 32, 1664, 468, 720, 1120, 11, 830, 287, 10177, 290, 3382, 284, 1414, 257, 7202, 284, 663, 4409, 13, 1002, 262, 1664, 468, 1679, 4409, 290, 262, 2472, 7202, 318, 720, 940, 11, 830, 11, 703, 881, 481, 1123, 6538, 3328, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 1664, 468, 720, 1120, 11, 830, 287, 10177, 290, 3382, 284, 1414, 257, 7202, 284, 663, 4409, 13, 198, 220, 220, 220, 100...
297
A television set costs $350. If the price of the television is increased by 5%, how much will the new tv set cost?
def simple_math_problem() -> int: ''' A television set costs $350. If the price of the television is increased by 5%, how much will the new tv set cost? ''' tv_cost=350 percentage_increase=5 new_cost=tv_cost*(1+percentage_increase/100) result = new_cost return result
[ 32, 5581, 900, 3484, 720, 14877, 13, 1002, 262, 2756, 286, 262, 5581, 318, 3220, 416, 642, 7441, 703, 881, 481, 262, 649, 31557, 900, 1575, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 317, 5581, 900, 3484, 720, 14877, 13, 198, 220, 220, 220, 1002, 262, 2756, 286, 262, 5581, 318, 3220, 416, 642, 7441, 703, 8...
298
In a group of 100 students, 30% own a motorcycle. Of these students, 60% have a driver's license. What is the probability of picking a student who owns a motorcycle and has a driver's license?
def simple_math_problem() -> int: ''' In a group of 100 students, 30% own a motorcycle. Of these students, 60% have a driver's license. What is the probability of picking a student who owns a motorcycle and has a driver's license? ''' total_students = 100 motorcycle_owners = total_students *...
[ 818, 257, 1448, 286, 1802, 2444, 11, 1542, 4, 898, 257, 18757, 13, 3226, 777, 2444, 11, 3126, 4, 423, 257, 4639, 338, 5964, 13, 1867, 318, 262, 12867, 286, 10868, 257, 3710, 508, 12216, 257, 18757, 290, 468, 257, 4639, 338, 5964, ...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 554, 257, 1448, 286, 1802, 2444, 11, 1542, 4, 898, 257, 18757, 13, 198, 220, 220, 220, 3226, 777, 2444, 11, 3126, 4, 423, ...
299
Student: Albert is building a fence around his house. He needs 7 pieces of lumber that are 6 feet long each. How many total feet of lumber does Albert need?
def simple_math_problem() -> int: """ Student: Albert is building a fence around his house. He needs 7 pieces of lumber that are 6 feet long each. How many total feet of lumber does Albert need? """ pieces_of_lumber = 7 length_of_lumber = 6 total_feet_of_lumber = pieces_of_lumber * lengt...
[ 38778, 25, 9966, 318, 2615, 257, 13990, 1088, 465, 2156, 13, 679, 2476, 767, 5207, 286, 34840, 326, 389, 718, 3625, 890, 1123, 13, 1374, 867, 2472, 3625, 286, 34840, 857, 9966, 761, 30, 198 ]
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 37227, 198, 220, 220, 220, 13613, 25, 9966, 318, 2615, 257, 13990, 1088, 465, 2156, 13, 198, 220, 220, 220, 679, 2476, 767, 5207, 286, 34840, 326, 389, 718, ...
300
The Grand Canyon has a depth that is 1/3 that of the Mariana Trench. The depth of the Mariana Trench is 36,070 feet. One foot of copper on the Grand Canyon is worth 25 times that of one foot of copper on the Mariana Trench. If the total value of all the copper in the world is 8 billion dollars, what is the total value ...
def simple_math_problem() -> int: ''' The Grand Canyon has a depth that is 1/3 that of the Mariana Trench. The depth of the Mariana Trench is 36,070 feet. One foot of copper on the Grand Canyon is worth 25 times that of one foot of copper on the Mariana Trench. If the total value of all the copper i...
[ 464, 5675, 22099, 468, 257, 6795, 326, 318, 352, 14, 18, 326, 286, 262, 1526, 7484, 309, 3532, 13, 383, 6795, 286, 262, 1526, 7484, 309, 3532, 318, 4570, 11, 43509, 3625, 13, 1881, 2366, 286, 15317, 319, 262, 5675, 22099, 318, 2861,...
[ 4299, 2829, 62, 11018, 62, 45573, 3419, 4613, 493, 25, 198, 220, 220, 220, 705, 7061, 198, 220, 220, 220, 383, 5675, 22099, 468, 257, 6795, 326, 318, 352, 14, 18, 326, 286, 262, 1526, 7484, 309, 3532, 13, 198, 220, 220, 220, 383, ...