Open
Description
When I try running the code block, I get an error that doesn't allow me to proceed
# Import some libraries to set up this assignment
from learntools.core import binder;
binder.bind(globals())
from suss.ict133.lab1 import *
print("Setup complete! You're ready to start question 1.")
An error occurs on the line from suss.ict133.lab1 import *
I get an index error at
==== File ..\venv\Lib\site-packages\suss\ict133\lab1.py:29 ===
13 # Enter the classes in order and makesure they have different names
14 # bind_exercises will convert them into ex0, ex1, ex2 for instance.
15 qvars = bind_exercises(globals(), [
16 Question1,
17 Question2,
(...)
27 var_format='q{n}',
28 )
---> 29 __all__ = list(qvars)
=== File ..\venv\Lib\site-packages\learntools\core\utils.py:74, in bind_exercises(g, exercises, start, var_format) ===
72 mpp._prob_map[letter] = prob
73 else:
74 pv = instantiate_probview(prob_cls, value_per_problem)
75 pv._order = str(qno)
76 g[varname] = pv
...
15 return
---> 16 exercise, course = path.split('/')[-1].split('.')[0], path.split('/')[-2]
17 return exercise, course
Metadata
Metadata
Assignees
Labels
No labels