Sum of Two
Write a function sum_two that takes two integers a and b and returns their sum. The + operator will help, and so will return — it is how a function hands back its result.
Примеры
Ввод
2, 3Вывод
5Ввод
-1, 1Вывод
0Ввод
100, 250Вывод
350Нужно реализовать
def sum_two(a: int, b: int) -> int:
Теги
mathbasics
Přihlaste se, abyste viděli historii odevzdání
Přihlásit sePřihlaste se, abyste mohli použít AI mentora
Přihlásit seTests6
Visible tests
Focus radio
Paused · SomaFM · Fluid