Desktop code lab

Coding lesson

A stable two-column coding workspace: lesson context, code editor, console, and AI review without layout squeeze.

Python track
Variables module
Ready console
AI review enabled

Task

A stable two-column coding workspace: lesson context, code editor, console, and AI review without layout squeeze.

Create player_score and assign 500.
  • Create stateDefine a variable that stores the learner score.
  • Use exact valueAssign 500 so the checker can verify the expected signal.
  • Explain intentThe mentor can review naming and system clarity after the check.
main.py Check ready
# Welcome to Adaptly Code Lab
def initialize_game():
    player_name = "Hero"
    player_score = 500
    return player_score
Expected output Passed: player_score = 500
Mentor handoff

After the check

Adaptly should turn the code result into a focused explanation and a next practice action.