MCPcopy Create free account
hub / github.com/Seogeurim/CS-study / View

Class View

contents/design-pattern/code/MVCPython/mvc_sample.py:9–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 }
8
9class View(object):
10 def list_services(self, services):
11 for svc in services:
12 print(svc, ' ')
13
14 def list_pricing(self, services):
15 for svc in services:
16 print("For" , Model.services[svc]['number'],
17 svc, "message you pay $",
18 Model.services[svc]['price'])
19
20
21class Controller(object):

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected