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 Types and Branching Numeric

Holly Bancroft
Holly Bancroft
5,162 Points

I got a different result for my equation than the video?

So I tried the same equation he did in the video: .01 + .01 +.01 - .03 but my return was 0.0 instead of the exponential number his was returning in the video. Wondering why this would be?

Maxwell Newberry
Maxwell Newberry
7,693 Points

Hi Holly! Welcome to Python, could maybe provide some of your code so that we can more effectively help? Be sure to use the Markdown Cheatsheet when providing code that it's formatted in a way we can easily read it. You'll find the cheatsheet at the bottom of the text area.

I believe it's just a typo and you have to put the . behind the 0: 0.1 + 0.1 + 0.1 - 0.3

Good luck!

1 Answer

Holly Bancroft
Holly Bancroft
5,162 Points

You're right, it was just a typo on my end. Thank you!