File size: 131 Bytes
dba8362 |
1 2 3 4 |
import json
class LearningPathGenerator:
def generate(self,gaps,p): r=json.load(open(p)); return {g:r.get(g,[]) for g in gaps}
|
dba8362 |
1 2 3 4 |
import json
class LearningPathGenerator:
def generate(self,gaps,p): r=json.load(open(p)); return {g:r.get(g,[]) for g in gaps}
|