Advanced · 4 labs
Learn if/else one step at a time. Write normal scripts that print unlocked/locked, streak banners, recommendations, and tutor access.
Total labs
4
Completed
0
Remaining
4
Progress
0%
In this track
0 / 4 done
Some Sythra labs stay locked until you earn enough XP. You already have: - student_xp, required_xp Rules - If student_xp >= required_xp, print unlocked - Otherwise print locked Examples - 150, 100 → unlocked - 40, 100 → locked
Not started · 0%
When you open Sythra, your home screen shows a streak message. You already have: - streak_days Rules (check in this order) 1. streak_days == 0 → Start your streak on Sythra today! 2. streak_days >= 7 → Week warrior — keep the flame alive! 3. streak_days >= 3 → Nice streak — don't break the chain. 4. Anything else → Day {streak_days} on Sythra. Print the message.
Not started · 0%
Sythra suggests what you should do next. You already have: - xp, completed_labs Rules (first match wins) 1. No labs done yet → lab:python-basics 2. At least 500 XP and at least 3 labs done → project:starter-ml 3. At least 200 XP → lab:control-flow 4. Everything else → topic:continue-course Print the recommendation.
Not started · 0%
Sythra's AI tutor has a daily message limit for free learners. You already have: - daily_used, daily_limit, is_premium Rules (check in this order) 1. Premium → granted_unlimited 2. Already used the full limit → denied_limit_reached 3. Exactly one message left → granted_last_call 4. Otherwise → granted Print the access result.
Not started · 0%