AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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

  • 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
      • • Vibe Coding
  • Igor Alves
    PLUS
    Igor Alves
    Courses Plus Student 4,115 Points

    the extra credit question ask me to send a dictionairy as a parameter, how can i do that?

    Posted November 23, 2015 9:27pm by Igor Alves
    Igor Alves
    Courses Plus Student 4,115 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • Javid Beykzadeh
    Javid Beykzadeh
    5,863 Points

    Why am I getting Type 'String' does not conform to protocol 'SequenceType'?

    Posted October 18, 2015 9:56pm by Javid Beykzadeh
    Javid Beykzadeh
    5,863 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • Victoria M
    Victoria M
    8,730 Points

    Error on Xcode when typing function

    Posted September 23, 2015 12:07am by Victoria M
    Victoria M
    8,730 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    3 Answers

  • alexvalladares
    alexvalladares
    21,478 Points

    Teacher's name

    Posted August 25, 2015 9:26am by alexvalladares
    alexvalladares
    21,478 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    2 Answers

  • boris said
    boris said
    3,607 Points

    I get this strange error message and i don't know what it means please help

    Posted August 23, 2015 3:14am by boris said
    boris said
    3,607 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • Fedor Andreev
    Fedor Andreev
    11,203 Points

    What is the difference between return and ->

    Posted July 28, 2015 7:29pm by Fedor Andreev
    Fedor Andreev
    11,203 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    2 Answers

  • Samar Khanna
    Samar Khanna
    1,757 Points

    Why won't switching changing the initial value of "found" to "false" work?

    Posted April 20, 2015 9:54am by Samar Khanna
    Samar Khanna
    1,757 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    2 Answers

  • Charles Cleland
    PLUS
    Charles Cleland
    Courses Plus Student 510 Points

    Nothing is displaying in the results pane when I enter the tuple code

    Posted March 13, 2015 11:52am by Charles Cleland
    Charles Cleland
    Courses Plus Student 510 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • tytyty
    tytyty
    4,974 Points

    Why did the playground output .0 and .1 ?

    Posted February 1, 2015 7:14pm by tytyty
    tytyty
    4,974 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • Robert Sheppard
    Robert Sheppard
    2,549 Points

    How does the n variable change? for n in names { if n == name { found = true } }

    Posted January 31, 2015 6:10am by Robert Sheppard
    Robert Sheppard
    2,549 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    2 Answers

  • Taylor Smith
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Taylor Smith
    iOS Development Techdegree Graduate 14,153 Points

    I am stuck on this challenge. I'm not really sure what it's asking me to do. please help!!

    Posted October 15, 2014 9:44pm by Taylor Smith
    .a{fill-rule:evenodd;}techdegree seal-36
    Taylor Smith
    iOS Development Techdegree Graduate 14,153 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    6 Answers

  • Spencer Bunting
    Spencer Bunting
    1,144 Points

    in the challenge section of this video, I am unable to apply the information from this video to the greeting func.

    Posted October 14, 2014 3:33pm by Spencer Bunting
    Spencer Bunting
    1,144 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • robert cioffi
    robert cioffi
    3,466 Points

    For some reason the error messages don't always show, how do I ensure all error messages are shown?

    Posted September 30, 2014 12:25am by robert cioffi
    robert cioffi
    3,466 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    1 Answer

  • Mostafa Raafat
    Mostafa Raafat
    5,979 Points

    Whats the difference between returning a tuple and array

    Posted September 20, 2014 5:45pm by Mostafa Raafat
    Mostafa Raafat
    5,979 Points
    • iOS
    • Swift Functions and Optionals
    • Parameters and Tuples
    • Tuples

    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.