Demo entry 6682715

test

   

Submitted by anonymous on Dec 10, 2017 at 08:34
Language: Python 3. Code size: 338 Bytes.

# encoding: utf-8
import uuid

STRING = """\
hello world
"""

class Base:
    """Base Class"""
    pass

class HelloWorld(Base):
    def __init__(self, msg='hello, world', nop=None):
        print(msg)

    @staticmethod
    def say(msg=None):
        if msg is None:
            msg = 'hello, world'
        print(msg)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).