Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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 68,423 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.

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,423 Points

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