[Solved] how to solve this problem:Multi Line Task: Hello World (Easy one) on codewars.com [closed]
Interesting puzzle. To get around the need to explicitly pass an argument to f, you can create a class with t (which is type), and use k to create a __new__ method that returns ‘Hello, world!’. Since __new__ is a class method, _ would become the class object when an instance is instantiated: f=t(”,(),{‘__new__’:k(‘Hello, world!’)}) … Read more