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

Julieta Dalla Pozza
Julieta Dalla Pozza
4,337 Points

Comparisons

Could someone explain me how can Python be bigger than Chocolate, if C comes first on the alphabet. Also age > 13, how do i know what age is AGE.. Thank u

1 Answer

Megan Amendola
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Megan Amendola
Treehouse Teacher

Hi! 'P' comes after 'C' in the alphabet so it is considered greater. C is the 3rd letter in the alphabet and P is 16. 16 > 3

In the video age is a variable. It holds whatever the user inputs when asked 'How old are you? '.

Julieta Dalla Pozza
Julieta Dalla Pozza
4,337 Points

Thank you Megan for helping me out. Now i get it, its all maths!