MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / RGB

Class RGB

example_code/item_051.py:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50print("Example 1")
51class RGB:
52 def __init__(self, red, green, blue):
53 self.red = red
54 self.green = green
55 self.blue = blue
56
57
58print("Example 2")

Callers 1

item_051.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected