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

🤑 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

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

  • 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
    • Showing results for:
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types
    • Close
  • matthew kvamme
    matthew kvamme
    301 Points

    im not getting question 2 not right

    Posted on Apr 23, 2020 by matthew kvamme
    matthew kvamme
    301 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Bryce Currie
    Bryce Currie
    47 Points

    help please

    Posted on Mar 29, 2020 by Bryce Currie
    Bryce Currie
    47 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • kiarash ghahremanitabrizi
    kiarash ghahremanitabrizi
    1,262 Points

    How do I do this

    Posted on Mar 25, 2020 by kiarash ghahremanitabrizi
    kiarash ghahremanitabrizi
    1,262 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Yathir international
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Yathir international
    iOS Development with Swift Techdegree Student 291 Points

    workspace is not working

    Posted on Mar 8, 2019 by Yathir international
    .a{fill-rule:evenodd;}techdegree
    Yathir international
    iOS Development with Swift Techdegree Student 291 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • frensky chery
    PLUS
    frensky chery
    Courses Plus Student 138 Points

    m confused

    Posted on Nov 23, 2018 by frensky chery
    frensky chery
    Courses Plus Student 138 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Denonte McKinney
    Denonte McKinney
    315 Points

    Mixed Types - Q2

    Posted on Dec 1, 2017 by Denonte McKinney
    Denonte McKinney
    315 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Luke Dodge
    Luke Dodge
    109 Points

    how do i make a boolean value of false?

    Posted on Nov 20, 2017 by Luke Dodge
    Luke Dodge
    109 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Nelson Lecuane
    Nelson Lecuane
    228 Points

    Hello friends, I think I got this right, still, I got an error

    Posted on Nov 15, 2017 by Nelson Lecuane
    Nelson Lecuane
    228 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • amber razzouk
    amber razzouk
    1,391 Points

    How do you assign a Boolean value of false for swift

    Posted on Oct 19, 2017 by amber razzouk
    amber razzouk
    1,391 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Vinod Nambiar
    PLUS
    Vinod Nambiar
    Courses Plus Student 14,982 Points

    Finally, we need to indicate whether the book is available in our store. Declare a variable named isAvailable and assign

    Posted on Sep 18, 2017 by Vinod Nambiar
    Vinod Nambiar
    Courses Plus Student 14,982 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • gary chang
    gary chang
    98 Points

    the number question isn't it ?

    Posted on Aug 21, 2017 by gary chang
    gary chang
    98 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    3 Answers

  • Olivia Chu
    Olivia Chu
    301 Points

    In this task, declare a variable named rating and assign the value 7.5 my ans: var rating = 7.5

    Posted on Aug 14, 2017 by Olivia Chu
    Olivia Chu
    301 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Nigel Matheson
    PLUS
    Nigel Matheson
    Courses Plus Student 1,166 Points

    This is still not quite right and I don't know why?

    Posted on Jul 11, 2017 by Nigel Matheson
    Nigel Matheson
    Courses Plus Student 1,166 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    3 Answers

  • qifeng sun
    qifeng sun
    6,274 Points

    not sure how to get this question down

    Posted on May 18, 2017 by qifeng sun
    qifeng sun
    6,274 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Paul Mougeot
    Paul Mougeot
    184 Points

    assigning a Boolean value to the variable

    Posted on Apr 26, 2017 by Paul Mougeot
    Paul Mougeot
    184 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Paul Mougeot
    Paul Mougeot
    184 Points

    assigning a Boolean value to the variable

    Posted on Apr 26, 2017 by Paul Mougeot
    Paul Mougeot
    184 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • walter fernandez
    walter fernandez
    4,992 Points

    Let's assume we're writing some code to maintain a bookstore and we would like to store some information about a book

    Posted on Apr 25, 2017 by walter fernandez
    walter fernandez
    4,992 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Alexisca hall
    Alexisca hall
    23,683 Points

    Let's assume we're writing some code to maintain a bookstore and we would like to store some information about a book in

    Posted on Mar 20, 2017 by Alexisca hall
    Alexisca hall
    23,683 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Keifer Dalton
    Keifer Dalton
    3,488 Points

    Boolean Not Registering. Probably a bug.

    Posted on Mar 19, 2017 by Keifer Dalton
    Keifer Dalton
    3,488 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Noah Muhammad
    PLUS
    Noah Muhammad
    Courses Plus Student 641 Points

    bool

    Posted on Mar 7, 2017 by Noah Muhammad
    Noah Muhammad
    Courses Plus Student 641 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Michael Sarpong
    Michael Sarpong
    478 Points

    Declare a variable : let title = "A dance with dragons" var rating = "7.5" still getting error on coder

    Posted on Mar 2, 2017 by Michael Sarpong
    Michael Sarpong
    478 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Or Alkalay
    PLUS
    Or Alkalay
    Courses Plus Student 253 Points

    What is the solution? Can't pass this easy task..

    Posted on Feb 13, 2017 by Or Alkalay
    Or Alkalay
    Courses Plus Student 253 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

  • Drew Scolaro
    PLUS
    Drew Scolaro
    Courses Plus Student 855 Points

    i dont know how to do this problem

    Posted on Jan 21, 2017 by Drew Scolaro
    Drew Scolaro
    Courses Plus Student 855 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    1 Answer

  • Stephen Simkin
    Stephen Simkin
    184 Points

    Good Morning, I can't get the code challenges to take my code. I keep getting the Bummer! notice. works in Xcode

    Posted on Jan 4, 2017 by Stephen Simkin
    Stephen Simkin
    184 Points
    • iOS
    • Swift Basics
    • Swift Types
    • Mixed Types

    2 Answers

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.