def main(): return 'hello world' print(main())
hello = 'hello'world = 'world'if hello!=world:print('{hello} {world}'.format(hello=hello,world=world))- def main():
- return 'hello world'
- print(main())
# TODO: Replace examples and use TDD development by writing your own tests # These are some of the methods available: # test.expect(boolean, [optional] message) # test.assert_equals(actual, expected, [optional] message) # test.assert_not_equals(actual, expected, [optional] message) # You can use Test.describe and Test.it to write BDD style test groupings test.assert_equals(main(), 'hello world')
- # TODO: Replace examples and use TDD development by writing your own tests
- # These are some of the methods available:
- # test.expect(boolean, [optional] message)
- # test.assert_equals(actual, expected, [optional] message)
- # test.assert_not_equals(actual, expected, [optional] message)
# You can use Test.describe and Test.it to write BDD style test groupings- # You can use Test.describe and Test.it to write BDD style test groupings
- test.assert_equals(main(), 'hello world')