Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Python Basics All Together Now Branch and Loop

Mercedes Aker
Mercedes Aker
6,544 Points

Terms, syntax, and workspace issue

I was wondering if I could use, "total_due" instead of "amount_due"?

I'm having trouble learning to speak python, what resources are their to learn the syntax? My way of coding variables isn't working.

When I copy Craig's way of doing this lesson project in the console, this workspace still doesn't run the code. What I am doing wrong?

Chris Freeman
Chris Freeman
Treehouse Moderator 67,665 Points

It would be helpful to post the code you are trying to run and how you are invoking the code.

Chris Freeman
Chris Freeman
Treehouse Moderator 67,665 Points

You can also share a link to your workspace using the button in the upper-right of the workspace.

Sharing Workspace

Personally, the best way i learnt the syntax was through w3schools.com, theres literally a tutorial on python syntax. Hope that helps.