All Tracks/workshop movie ticket booking calculator/
Đang tải...
Hướng dẫn thử thách
1 / 21

Step 1

In this workshop, you will practice how to use booleans and conditional statements in Python by building a movie ticket booking calculator. Begin by declaring variables that store information about the user and the movie show. Create a variable named `base_price` to store the base price of the movie ticket and set its value to `15`. Create another variable named `age` to store the user's age and set its value to `21`.
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.