MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / print

Function print

static/js/learnpython.js:208–216  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

206}
207
208function print(text) {
209 if (!text) {
210 return;
211 }
212 output.setValue(text);
213 if ($.trim(tutorialData.output) !== '' && $.trim(tutorialData.output) === $.trim(text)) {
214 correct();
215 }
216}
217
218
219

Callers 8

indexFunction · 0.85
parse_optionsFunction · 0.85
executeFunction · 0.85
executeJSFunction · 0.85
execDoneFunction · 0.85
handleErrorFunction · 0.85
process.pyFile · 0.85
deplist.pyFile · 0.85

Calls 3

correctFunction · 0.85
setValueMethod · 0.80
trimMethod · 0.45

Tested by

no test coverage detected