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

Function main

example_code/item_112.py:138–143  ·  view source on GitHub ↗
(argv)

Source from the content-addressed store, hash-verified

136 return DATABASE
137
138def main(argv):
139 database = get_database()
140 species = argv[1]
141 count = do_rounds(database, species)
142 print(f"Fed {count} {species}(s)")
143 return 0
144
145
146print("Example 8")

Callers 1

item_112.pyFile · 0.70

Calls 2

get_databaseFunction · 0.85
do_roundsFunction · 0.70

Tested by

no test coverage detected