🤑 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • 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.

    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.