Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 0193aa8

Browse files
Merge pull request #231 from codewizardshq/update-code-prompt
Update code prompt
2 parents c19f3dd + 04c01cb commit 0193aa8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/views/Quiz/QuizFinalQuestion.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,15 @@ export default {
8989
},
9090
data() {
9191
const jsCode = `function calculateAnswer(){
92-
return 100;
92+
// this is where you write your code
93+
// good luck!
9394
}
9495
// we check your answer by looking at the output var
9596
var output = calculateAnswer();`;
9697
const pyCode = `def calculateAnswer():
97-
return 100
98+
# this is where you write your code
99+
# good luck!
100+
98101
# we check your answer by what you print
99102
print(calculateAnswer())`;
100103
return {

0 commit comments

Comments
 (0)