Module (68%)
Section (38%)

Let's start with a typical class that can be instantiated:

class BluePrint: def hello(self): print('Nothing is blue unless you need it') bp = BluePrint() bp.hello()

There’s nothing new for you here – it’s just an example of creating a class and instantiating it. No errors, no doubts, and it gives a clear output:

Nothing is blue unless you need it

output



Code

class BluePrint:
def hello(self):
print('Nothing is blue unless you need it')


bp = BluePrint()
bp.hello()
{{ dockerServerErrorMsg }} ×
{{ errorMsg }} ×
{{ successMsg }} ×