Merge branch 'main' of https://github.com/Alalalallalalalalalalalal/FinED-Front
Browse files
phase/Student_view/lesson.py
CHANGED
|
@@ -4,7 +4,6 @@ import random
|
|
| 4 |
import requests
|
| 5 |
from typing import List, Dict, Tuple, Optional
|
| 6 |
|
| 7 |
-
|
| 8 |
import streamlit as st
|
| 9 |
from utils import db as dbapi
|
| 10 |
|
|
@@ -35,7 +34,7 @@ MINI_QUIZ_MIN = 2
|
|
| 35 |
MINI_QUIZ_MAX = 4
|
| 36 |
|
| 37 |
# --- Data structure for lessons ---
|
| 38 |
-
{
|
| 39 |
"beginner": [
|
| 40 |
{
|
| 41 |
"id": 1,
|
|
|
|
| 4 |
import requests
|
| 5 |
from typing import List, Dict, Tuple, Optional
|
| 6 |
|
|
|
|
| 7 |
import streamlit as st
|
| 8 |
from utils import db as dbapi
|
| 9 |
|
|
|
|
| 34 |
MINI_QUIZ_MAX = 4
|
| 35 |
|
| 36 |
# --- Data structure for lessons ---
|
| 37 |
+
lessons_by_level = {
|
| 38 |
"beginner": [
|
| 39 |
{
|
| 40 |
"id": 1,
|