Skip to content

Commit 5487efb

Browse files
authored
Merge pull request #1 from git-Pqrd/fix-game-add-ads-txt
Add an ads.txt and fix one of the confusing problem in the games.
2 parents 5de5759 + b2c682c commit 5487efb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/games/basics.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const basicGames: Game[] = [
178178
new CodeLine(" my_list_append(i)", StateEnum.WRONG, "That is not how to append."),
179179
new CodeLine(" my_list.append(i)", StateEnum.CORRECT, "Correctly appends i to the list after the loop."),
180180
new CodeLine(" my_list.append[i]", StateEnum.WRONG, "Incorrect use of brackets instead of parentheses for the append method."),
181-
new CodeLine(" my_list += [i]", StateEnum.WRONG, "Misleading as it suggests extending the list in the loop."),
181+
new CodeLine(" my_list += i", StateEnum.WRONG, "This won't work. [i] would have been correct."),
182182
new CodeLine("return my_list", StateEnum.NORMAL, ""),
183183
],
184184
"python"

public/ads.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google.com, pub-1597486652294367, DIRECT, f08c47fec0942fa0

0 commit comments

Comments
 (0)