Hướng dẫn thử thách
1 / 10
Step 1
In this workshop, you will practice Python data types by creating and printing data for a simple report card.
As you learned in previous lessons, variables are assigned in this way:
```py
greeting = 'Hello World'
```
In the example above, the variable `greeting` has the value of a string, which is a sequence of characters surrounded by quotes.
Create a variable called `name` and assign it the string `Alice`. Remember to surround the value with either single or double quotes as shown in the example.
**Important:** Python uses indentation (the spaces at the beginning of a line) to organize code. For this workshop, make sure there are no extra spaces at the start of each line of code. Adding extra spaces will cause an `IndentationError` and prevent your code from running.
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:⌘↵