Add Two Numbers
This is a warm-up before more complex challenges: just add two numbers. The function solve_me_first receives two integers, a and b. Return their sum, like calculating the total of two small payments or scores.
Примеры
Ввод
2, 3Вывод
5Ввод
10, 20Вывод
30Ввод
-5, 5Вывод
0Нужно реализовать
def solve_me_first(a: int, b: int) -> int:
Теги
math
Conectează-te pentru a vedea istoricul soluțiilor trimise
Conectează-teConectează-te pentru a folosi Mentorul AI
Conectează-teVisible tests
1
Input
2, 3Expected
52
Input
10, 20Expected
303
Input
-5, 5Expected
04
Input
0, 0Expected
05
Input
100, -1Expected
996
Input
101, -1Expected
100Focus radio
Paused · SomaFM · Fluid