mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-11-09 10:39:41 -06:00
7 lines
265 B
Python
7 lines
265 B
Python
import yaml
|
|
with open("books/shared/_includes/notation_registry.yml") as f:
|
|
data = yaml.safe_load(f)
|
|
for var in data["variables"]:
|
|
if len(var["definition"].split()) > 4 or ";" in var["definition"]:
|
|
print(f"{var['latex']:<20} | {var['definition']}")
|