🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Tor HÃ¥kon Thomassen
    Tor HÃ¥kon Thomassen
    669 Points

    ERROR

    Posted February 9, 2016 1:41am by Tor HÃ¥kon Thomassen
    Tor HÃ¥kon Thomassen
    669 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Shiv Bhatia
    Shiv Bhatia
    1,760 Points

    I'm using Swift 2.0, and when I try to use the NOT operator (!) it tells me that it's not a recognised operator.

    Posted October 24, 2015 12:04pm by Shiv Bhatia
    Shiv Bhatia
    1,760 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Shiv Bhatia
    Shiv Bhatia
    1,760 Points

    I'm using Swift 2.0, and when I try to use the NOT operator (!) it tells me that it's not a recognised operator.

    Posted October 24, 2015 12:04pm by Shiv Bhatia
    Shiv Bhatia
    1,760 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    2 Answers

  • Harold Bellemare
    Harold Bellemare
    1,466 Points

    If/if else clause order (spoiler)

    Posted August 14, 2015 9:21pm by Harold Bellemare
    Harold Bellemare
    1,466 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • John Scully
    John Scully
    1,018 Points

    What is the point of using string interpolation in the buzzfizz example?

    Posted July 23, 2015 4:04am by John Scully
    John Scully
    1,018 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Cameron Tredoux
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Cameron Tredoux
    iOS Development Techdegree Student 750 Points

    Would this be an efficient, or even correct, way of making the FizzBuzz Generator?

    Posted June 13, 2015 2:59am by Cameron Tredoux
    .a{fill-rule:evenodd;}techdegree
    Cameron Tredoux
    iOS Development Techdegree Student 750 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    2 Answers

  • David Thai
    David Thai
    984 Points

    What was that link Amit was talking about?

    Posted May 27, 2015 7:49pm by David Thai
    David Thai
    984 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Hunter Christian Davis
    Hunter Christian Davis
    2,813 Points

    Confused

    Posted March 22, 2015 1:06am by Hunter Christian Davis
    Hunter Christian Davis
    2,813 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Kulan Kahadugoda
    Kulan Kahadugoda
    2,149 Points

    Why is there a slash before the "(distance)" in the if statement?

    Posted March 3, 2015 3:15pm by Kulan Kahadugoda
    Kulan Kahadugoda
    2,149 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Daniel Merrill
    Daniel Merrill
    2,888 Points

    Mistake on video

    Posted February 19, 2015 9:43pm by Daniel Merrill
    Daniel Merrill
    2,888 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    2 Answers

  • tytyty
    tytyty
    4,974 Points

    Why did he say @ 3:57 "technically this should be close"?

    Posted January 29, 2015 4:39am by tytyty
    tytyty
    4,974 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

  • Kathleen Loden
    Kathleen Loden
    838 Points

    Accessing a dictionary for use in the fizzbuzz exercise

    Posted October 24, 2014 10:11am by Kathleen Loden
    Kathleen Loden
    838 Points
    • iOS
    • Swift Basics (retired)
    • Control Flow
    • Comparison and Logical Operators

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.