All Tracks/learn how to use basic programming vocabulary in conversations/
Đang tải...
Hướng dẫn thử thách
1 / 84

Dialogue 1: Discussing Basic Programming

Watch the video to understand the context of the upcoming lessons.
Nhiệm vụ của bạn
Watch the video # --scene-- ```json { "setup": { "background": "company2-breakroom.png", "characters": [ { "character": "Brian", "position": { "x": -25, "y": 0, "z": 1 } }, { "character": "Sophie", "position": { "x": 125, "y": 0, "z": 1 } } ], "audio": { "filename": "5.1-1.mp3", "startTime": 1 }, "alwaysShowDialogue": true }, "commands": [ { "character": "Brian", "position": { "x": 25, "y": 0, "z": 1 }, "startTime": 0 }, { "character": "Sophie", "position": { "x": 70, "y": 0, "z": 1 }, "startTime": 0.5 }, { "character": "Brian", "startTime": 1, "finishTime": 6.3, "dialogue": { "text": "Hey, Sophie. How's it going? I've heard you've been learning a lot about programming languages.", "align": "left" } }, { "character": "Sophie", "startTime": 7, "finishTime": 10.02, "dialogue": { "text": "Yeah, the crazy part is that there are so many out there.", "align": "right" } }, { "character": "Brian", "startTime": 10.02, "finishTime": 13, "dialogue": { "text": "That's awesome. How much time have you spent on it?", "align": "left" } }, { "character": "Sophie", "startTime": 13.36, "finishTime": 20.72, "dialogue": { "text": "I spent much of my free time on it. It's fascinating! I've learned about variables, data types, and even conditional statements in many languages.", "align": "right" } }, { "character": "Brian", "startTime": 21.04, "finishTime": 25.82, "dialogue": { "text": "That's great to hear. You know, I have a question about Python. Can you help me with that?", "align": "left" } }, { "character": "Sophie", "startTime": 26.04, "finishTime": 28.44, "dialogue": { "text": "Sure. I know Python pretty well. What's your question?", "align": "right" } }, { "character": "Brian", "startTime": 28.44, "finishTime": 31.84, "dialogue": { "text": "How do you declare variables in Python? I'm curious.", "align": "left" } }, { "character": "Sophie", "startTime": 31.84, "finishTime": 40.96, "dialogue": { "text": "In Python, you declare variables by using the variable name and the assignment operator. For example, you can declare a variable like this: name = 'Sophie'.", "align": "right" } }, { "character": "Brian", "startTime": 40.96, "finishTime": 44.06, "dialogue": { "text": "Got it. Thanks, Sophie. I appreciate your help.", "align": "left" } }, { "character": "Sophie", "position": { "x": 125, "y": 0, "z": 1 }, "startTime": 44.56 }, { "character": "Brian", "position": { "x": -25, "y": 0, "z": 1 }, "startTime": 45.06 } ] } ```
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.py
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.