Build a Report Card Printer - 步骤2

告诉我们发生了什么:

i already key in the correct code but it not work

到目前为止你的代码

name = 'Alice'

# User Editable Region

name = 'Alice'
print(greeting) # Output:Alice 

# User Editable Region

你的浏览器信息:

用户代理是: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36

挑战信息:

Build a Report Card Printer - 步骤2

GitHub Link: i18n-curriculum/curriculum/challenges/chinese/blocks/workshop-report-card-printer/6947a0c2b6de035dd8d3eea1.md at main · freeCodeCamp/i18n-curriculum · GitHub

Welcome to the forum @chanjieyag000

Did you see the syntax error message in the console?

You need to use the variable already in the main.py file.

The greeting variable was used only as an example.

You did not need to assign the name variable twice.

Happy coding