Move History

Rooted by: Gala kumite
Fork Selected
  • Code
    def greeting():
        return ''.join(chr(x) for x in [104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100])
    Test Cases
    test.assert_equals(greeting(), 'hello world')
  • Code
    • print("hello world")
    • def greeting():
    • return ''.join(chr(x) for x in [104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100])
    Test Cases
    • import codewars_test as test
    • # TODO Write tests
    • import solution # or from solution import example
    • # test.assert_equals(actual, expected, [optional] message)
    • @test.describe("Example")
    • def test_group():
    • @test.it("test case")
    • def test_case():
    • test.assert_equals(1 + 1, 2)
    • test.assert_equals(greeting(), 'hello world')