def meaning_of_life_is(): return ord('*')
def meaning_of_life_is():return """go crazy with your imagination and return anything you like.strings, numbers, ... just don't return None.may the most creative answer win"""- def meaning_of_life_is():
- return ord('*')
import codewars_test as test # TODO Write tests from solution import meaning_of_life_is # 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(meaning_of_life_is(), 42)
- import codewars_test as test
- # TODO Write tests
- from solution import meaning_of_life_is # 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_not_equals(meaning_of_life_is(), None)- test.assert_equals(meaning_of_life_is(), 42)