python solution with helloword test