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

Ameer Wilson
Ameer Wilson
1,553 Points

My code not printing the full total line

Here's a snapshot of my work. Please help https://w.trhou.se/cvvnk40fv2

Ameer Wilson
Ameer Wilson
1,553 Points

Thanks James. That was the problem. I literally figured it out right after I asked the question lol.

1 Answer

James Comer
James Comer
161 Points

Check line 16 and replace "print = ("Your total is, ${}".format(total_cost))" with print("Your total is, ${}".format(total_cost))