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

iOS Swift Basics Swift Operators Assignment and Comparison

Nicholas Gurney
Nicholas Gurney
1,660 Points

Greater than or equal to

Might be a good idea to add to this video that the greater than or equal to or less than or equal to operator is typed ">=" as it is required to know that in the next code challenge.

4 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hi Nicholas,

That's a great observation and a note that will be helpful to many students. :thumbsup:
It's been a while since I watched this video, and I've often been confused as to why I've seen so many questions in the Community about comparison operators and the student's code not working... I see ≤ or ≥ in their code and was confused as to why they would be using that? Thank you for pointing this out. The confusion I've been seeing makes more sense now.

Tagging Pasan Premaratne

Keep Coding! :dizzy:

Good, thanks Nicholas!

Matthew Kaplan
Matthew Kaplan
9,226 Points

Greater than or Equal to: ">=" Less than or Equal to: "<="

James Rimmer
James Rimmer
2,603 Points

I've actually just posted a question about this too as I didn't notice this question and it still hasn't been updated in the video.