track = dict(
    author_username="alexisbcook",
    course_name="Intro to Programming",
    course_url="https://www.kaggle.com/learn/intro-to-programming",
    course_forum_url=""
)

TOPICS = [
    "Arithmetic and Variables",  # 1
    "Functions",  # 2
    "Data Types",  # 3
    "Conditions and Conditional Statements",  # 4
    "Intro to Lists",  # 5
]
lessons = [{"topic": topic_name} for topic_name in TOPICS]

notebooks = [
    dict(filename="tut1.ipynb", lesson_idx=0, type="tutorial"),
    dict(filename="ex1.ipynb", lesson_idx=0, type="exercise", scriptid=25258219),
    dict(filename="tut2.ipynb", lesson_idx=1, type="tutorial"),
    dict(filename="ex2.ipynb", lesson_idx=1, type="exercise", scriptid=25258227),
    dict(filename="tut3.ipynb", lesson_idx=2, type="tutorial"),
    dict(filename="ex3.ipynb", lesson_idx=2, type="exercise", scriptid=25258226),
    dict(filename="tut4.ipynb", lesson_idx=3, type="tutorial"),
    dict(filename="ex4.ipynb", lesson_idx=3, type="exercise", scriptid=25880622),
    dict(filename="tut5.ipynb", lesson_idx=4, type="tutorial"),
    dict(filename="ex5.ipynb", lesson_idx=4, type="exercise", scriptid=25880656),
]

for nb in notebooks:
    if nb['filename'] == 'ex1.ipynb':
        nb['competition_sources'] = ["titanic"]

@@ -478,33 +478,49 @@
 ype=%22tutorial%22),
+      # 25258229
 %0A
-
     dict(filenam
@@ -640,32 +640,48 @@
 ype=%22tutorial%22),
+      # 25258223
 %0A    dict(filena
@@ -802,32 +802,48 @@
 ype=%22tutorial%22),
+      # 25258222
 %0A    dict(filena
@@ -964,32 +964,48 @@
 ype=%22tutorial%22),
+      # 25880617
 %0A    dict(filena
@@ -1134,16 +1134,32 @@
 orial%22),
+      # 26034860
 %0A    dic
@@ -1227,15 +1227,15 @@
 id=2
-5880656
+6034864
 ),%0A%5D

correct script ids