#310·Python

[oop] 使用 __init__ 给对象传参 问题反馈

作者: Caijintan123创建于 2026年9月6日更新于 2026年9月12日

I am a complete beginner with no prior programming experience. While trying to learn Python using the webpage you created, I got stuck on the previous question. I repeatedly adjusted the spacing in the print statement and even used AI tools, but I still couldn't pass the test. Even after clicking "View Answer," I couldn't figure out what the issue was. I'm not sure what's going on, so I'm reaching out for help. Here is the code I wrote:

内容来源: walter201230/Python