"pick four digit number" "scatter the numbers randomly" "select number" "then what" "then we redo the process and spam emails with the result" "Hahaha ridiculous kumite"
- "pick four digit number"
- "scatter the numbers randomly"
- "select number"
- "then what"
"then we redo the process and spam emails with the result"- "then we redo the process and spam emails with the result"
- "Hahaha ridiculous kumite"
def sum_of_numbers(a, b): return a + b
function sum_of_numbers(a, b)return b + aend- def sum_of_numbers(a, b):
- return a + b
import codewars_test as test # Import Codewars test framework @test.describe("Sum of Numbers Tests") def test_group(): @test.it("Basic Test Cases") def basic_tests(): test.assert_equals(sum_of_numbers(1, 2), 3) test.assert_equals(sum_of_numbers(-1, 1), 0) test.assert_equals(sum_of_numbers(0, 0), 0) test.assert_equals(sum_of_numbers(100, 200), 300) test.assert_equals(sum_of_numbers(-50, -50), -100)
-- TODO: Replace examples and use TDD by writing your own testslocal solution = require 'solution'describe("solution", function()it("test for something", function()assert.are.same(2, sum_of_numbers(1,1))end)end)- import codewars_test as test # Import Codewars test framework
- @test.describe("Sum of Numbers Tests")
- def test_group():
- @test.it("Basic Test Cases")
- def basic_tests():
- test.assert_equals(sum_of_numbers(1, 2), 3)
- test.assert_equals(sum_of_numbers(-1, 1), 0)
- test.assert_equals(sum_of_numbers(0, 0), 0)
- test.assert_equals(sum_of_numbers(100, 200), 300)
- test.assert_equals(sum_of_numbers(-50, -50), -100)