# See also examples/example_track/track_meta.py for a longer, commented example
track = dict(
    author_username='ryanholbrook',
    course_name="Introduction to Deep Learning",
    course_url='https://www.kaggle.com/learn/introduction-to-deep-learning',
    course_forum_url='https://www.kaggle.com/learn-forum',
)

lessons = [ {'topic': topic_name} for topic_name in
            ["Linear Regression as a Neural Network", # 1
             # "Making Models Deep",                    # 2
             # "Practical SGD",                         # 3
             # "Overfitting and Underfitting",          # 4
             # "Improving Optimization",                # 5
             # "Deep Classifiers",                      # 6
            ]
]

notebooks = [
    dict(
        filename='tut1.ipynb',
        lesson_idx=0,
        type='tutorial',
        ),
    # dict(
    #     filename='ex1.ipynb',
    #     lesson_idx=0,
    #     type='exercise',
    #     scriptid=1,
    #     ),
]



@@ -315,71 +315,16 @@
 %0A)%0A%0A
-lessons = %5B %7B'topic': topic_name%7D for topic_name in%0A           
+topics =
  %5B%22L
@@ -376,21 +376,16 @@
         
- 
-  # 
 %22Making 
@@ -430,21 +430,16 @@
         
-    #
  %22Practi
@@ -486,21 +486,16 @@
         
- 
-  # 
 %22Overfit
@@ -540,21 +540,16 @@
         
-    #
  %22Improv
@@ -596,19 +596,16 @@
         
-   
 # %22Deep 
@@ -657,133 +657,143 @@
     
-  %5D%0A%5D%0A%0Anotebooks = %5B%0A    dict(%0A        filename='tut1.ipynb',%0A        lesson_idx=0,%0A        type='tutorial',%0A        ),%0A    #
+%5D%0A%0Alessons = %5B%7B'topic': topic_name%7D for topic_name in topics%5D%0A%0Anotebooks = %5B%5D%0Afor i, _ in enumerate(topics):%0A    notebooks += %5B%0A       
  dic
@@ -795,25 +795,27 @@
   dict(%0A    
-#
+   
      filenam
@@ -820,26 +820,42 @@
 ame=
-'ex1.ipynb'
+%22tut%7B%7D.ipynb%22.format(i+1)
 ,%0A    
-#
+   
     
@@ -870,16 +870,18 @@
 idx=
-0
+i
 ,%0A    
-#
+   
     
@@ -891,54 +891,33 @@
 pe='
-exercise
+tutorial
 ',%0A   
- #
      
-scriptid=1,%0A    #     ),%0A%5D%0A
+),%0A    %5D
 %0A%0A

Update track_meta.py