Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
  • aa114
    aa114
    1,697 Points

    Why use '=None'?

    Posted April 10, 2019 2:08pm by aa114
    aa114
    1,697 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Ceil-Ian Maralit
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ceil-Ian Maralit
    Front End Web Development Techdegree Graduate 19,434 Points

    Why pass it as a dictionary when we can just pass it as key/value pairs?

    Posted November 5, 2018 10:40am by Ceil-Ian Maralit
    .a{fill-rule:evenodd;}techdegree seal-36
    Ceil-Ian Maralit
    Front End Web Development Techdegree Graduate 19,434 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Kendall Kelly
    Kendall Kelly
    927 Points

    can someone explain to me exactly what dictionaries are? and what they are used for. Also i need help with understanding

    Posted October 29, 2018 2:02am by Kendall Kelly
    Kendall Kelly
    927 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Wilfried Allico
    Wilfried Allico
    2,495 Points

    Hello. I need help regarding the packing and unpacking lesson.

    Posted October 5, 2018 3:37am by Wilfried Allico
    Wilfried Allico
    2,495 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Kafe Hezam
    Kafe Hezam
    11,070 Points

    Why when I try to pass a value to *arg it doesn't get passed to it.

    Posted August 7, 2018 12:48am by Kafe Hezam
    Kafe Hezam
    11,070 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Brian Minkin
    PLUS
    Brian Minkin
    Courses Plus Student 795 Points

    unpacking challenge

    Posted June 20, 2018 3:40pm by Brian Minkin
    Brian Minkin
    Courses Plus Student 795 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    4 Answers

  • StanisÅ‚aw Dudzik
    Stanisław Dudzik
    9,731 Points

    Packing and Unpacking dictionaries : more examples of how to use these ?

    Posted June 12, 2018 5:03pm by Stanisław Dudzik
    Stanisław Dudzik
    9,731 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Amol Garg
    Amol Garg
    1,558 Points

    Why did Kenneth set first_name = none and last_name=none in the unpacker() function?

    Posted May 12, 2018 10:29pm by Amol Garg
    Amol Garg
    1,558 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Youssef Moustahib
    Youssef Moustahib
    7,779 Points

    Have I got this right for unpacking?

    Posted April 7, 2018 9:00pm by Youssef Moustahib
    Youssef Moustahib
    7,779 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Akshaan Mazumdar
    Akshaan Mazumdar
    3,787 Points

    why is 1 being printed in this example ? the length of name = "Kenneth" is 1?

    Posted February 27, 2018 8:03am by Akshaan Mazumdar
    Akshaan Mazumdar
    3,787 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Tilak Muruduru Divakar
    Tilak Muruduru Divakar
    6,459 Points

    Passing unpacked keys/values into a string

    Posted February 15, 2018 7:22am by Tilak Muruduru Divakar
    Tilak Muruduru Divakar
    6,459 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    2 Answers

  • Yiyang Tang
    Yiyang Tang
    2,655 Points

    External link for a good explanation on **kwarg and *arg

    Posted January 6, 2018 6:02am by Yiyang Tang
    Yiyang Tang
    2,655 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Irakli Tchigladze
    Irakli Tchigladze
    1,390 Points

    Overruling the "None" arguments while Packing/unpacking

    Posted September 3, 2017 7:31pm by Irakli Tchigladze
    Irakli Tchigladze
    1,390 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • aditya yadav
    aditya yadav
    1,505 Points

    how can we pass dictionary (as argument) in a function

    Posted July 31, 2017 1:24am by aditya yadav
    aditya yadav
    1,505 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Andrew Gursky
    Andrew Gursky
    12,576 Points

    What is the purpose of ** in the unpacker function?

    Posted June 23, 2017 12:58pm by Andrew Gursky
    Andrew Gursky
    12,576 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Noah Fields
    Noah Fields
    13,985 Points

    Program not Working, Troubleshooting Help?

    Posted June 20, 2017 6:05pm by Noah Fields
    Noah Fields
    13,985 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    0 Answers

  • Patrick Borosky
    PLUS
    Patrick Borosky
    Courses Plus Student 10,615 Points

    Packing/Unpacking syntax error?

    Posted May 5, 2017 12:39am by Patrick Borosky
    Patrick Borosky
    Courses Plus Student 10,615 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Sagar Thakkar
    Sagar Thakkar
    8,814 Points

    hay can any one help me to understand packing and unpacking more please...

    Posted March 21, 2017 4:03pm by Sagar Thakkar
    Sagar Thakkar
    8,814 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    3 Answers

  • Vishal Vikram
    Vishal Vikram
    251 Points

    Your task is to construct a building which will be a pile of n cubes. The cube at the bottom will have a volume of n^3,

    Posted February 18, 2017 4:36pm by Vishal Vikram
    Vishal Vikram
    251 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Michal Janek
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Michal Janek
    Front End Web Development Techdegree Graduate 30,654 Points

    Practice with dictionaries - packing/unpacking. + challenge

    Posted January 29, 2017 11:48am by Michal Janek
    .a{fill-rule:evenodd;}techdegree seal-36
    Michal Janek
    Front End Web Development Techdegree Graduate 30,654 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    1 Answer

  • Konrad Hunter
    Konrad Hunter
    3,629 Points

    Why do you set the variable to None?

    Posted January 18, 2017 10:37pm by Konrad Hunter
    Konrad Hunter
    3,629 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    4 Answers

  • Vedang Patel
    Vedang Patel
    7,114 Points

    I am really confused with packing and unpacking

    Posted January 6, 2017 12:33pm by Vedang Patel
    Vedang Patel
    7,114 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Dictionaries
    • Packing and Unpacking Dictionaries

    3 Answers

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord