🤑 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
  • Orji Ogbonnaya Orji
    Orji Ogbonnaya Orji
    1,403 Points

    I need help with this Quiz

    Posted June 3, 2022 10:32pm by Orji Ogbonnaya Orji
    Orji Ogbonnaya Orji
    1,403 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Asher Orr
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Asher Orr
    Python Development Techdegree Graduate 9,410 Points

    Iterating over only the keys in a dictionary - is there an alternate way to do this, or is there an error w/ this quiz?

    Posted May 13, 2022 7:35pm by Asher Orr
    .a{fill-rule:evenodd;}techdegree seal-36
    Asher Orr
    Python Development Techdegree Graduate 9,410 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Chris Hummel
    Chris Hummel
    13,960 Points

    Where is the syntax shown for this?

    Posted April 30, 2021 7:38pm by Chris Hummel
    Chris Hummel
    13,960 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • Jorge Grajeda
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jorge Grajeda
    Python Development Techdegree Graduate 8,186 Points

    How would I answer this problem?

    Posted April 14, 2021 5:46am by Jorge Grajeda
    .a{fill-rule:evenodd;}techdegree seal-36
    Jorge Grajeda
    Python Development Techdegree Graduate 8,186 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Han Htoo Aung
    Han Htoo Aung
    1,473 Points

    Please fill in the correct answer in each blank provided below.

    Posted November 14, 2020 7:19am by Han Htoo Aung
    Han Htoo Aung
    1,473 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • Luke Tate
    PLUS
    Luke Tate
    Courses Plus Student 2,256 Points

    Why doesn't 'items' work, in the for loop when accessing strictly, either key or value?

    Posted November 1, 2020 2:05am by Luke Tate
    Luke Tate
    Courses Plus Student 2,256 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Thomas Ma
    Thomas Ma
    15,199 Points

    Complete this code so that it will iterate over all the key:value pairs in the student dictionary.

    Posted August 14, 2020 5:44pm by Thomas Ma
    Thomas Ma
    15,199 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Thomas Ma
    Thomas Ma
    15,199 Points

    Complete this code so that it will iterate over all the key:value pairs in the student dictionary.

    Posted August 13, 2020 9:22pm by Thomas Ma
    Thomas Ma
    15,199 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Alan Stride
    Alan Stride
    1,660 Points

    Stuck on 'Introducing Dictionaries' task, question 2 and 3 out of 4.

    Posted August 13, 2020 9:08am by Alan Stride
    Alan Stride
    1,660 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • ben127127
    ben127127
    1,980 Points

    Confused on this "Introducing Dictionaries" Quiz

    Posted June 30, 2020 7:42pm by ben127127
    ben127127
    1,980 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • Kannan A
    Kannan A
    1,291 Points

    In a for statement, why cannot we use object.items to call only for a key or for a value?

    Posted June 30, 2020 7:28am by Kannan A
    Kannan A
    1,291 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Abdullah Al-Romaihi
    Abdullah Al-Romaihi
    2,172 Points

    How is this done...can't find the answer on google nor did I get it from the videos

    Posted June 16, 2020 8:25pm by Abdullah Al-Romaihi
    Abdullah Al-Romaihi
    2,172 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • Nicholas Dallas
    Nicholas Dallas
    2,691 Points

    Recap of iterating and packing with dictionaries 2 & 3

    Posted June 4, 2020 2:16am by Nicholas Dallas
    Nicholas Dallas
    2,691 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    I am a bit confused

    Posted May 15, 2020 5:27pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    I don't know how to do this

    Posted May 14, 2020 5:27pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Mark Nembhard
    Mark Nembhard
    1,387 Points

    how to access the keys only in a dictionary?

    Posted April 8, 2020 12:07pm by Mark Nembhard
    Mark Nembhard
    1,387 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • ELVIS CHAWAREMERA
    ELVIS CHAWAREMERA
    11,627 Points

    help...i dont know where i am getting wrong the second quiz and third quiz

    Posted February 29, 2020 1:50pm by ELVIS CHAWAREMERA
    ELVIS CHAWAREMERA
    11,627 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Carrington Chirongoma
    Carrington Chirongoma
    7,037 Points

    i'm failing to get the correct answer

    Posted February 25, 2020 12:42pm by Carrington Chirongoma
    Carrington Chirongoma
    7,037 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Kortney Field
    Kortney Field
    14,091 Points

    not "items", what else could it be?

    Posted February 14, 2020 6:35pm by Kortney Field
    Kortney Field
    14,091 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    0 Answers

  • Frances Angulo
    Frances Angulo
    5,311 Points

    for key in student: print(key) should work

    Posted February 6, 2020 3:14pm by Frances Angulo
    Frances Angulo
    5,311 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • RIP' FINGALINS"""""""""
    RIP' FINGALINS"""""""""
    2,002 Points

    Help can someone help me with this?

    Posted January 14, 2020 12:30am by RIP' FINGALINS"""""""""
    RIP' FINGALINS"""""""""
    2,002 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Ronald Greer
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Ronald Greer
    Front End Web Development Techdegree Graduate 56,430 Points

    Can anyone help me with these fill in the blank questions?

    Posted December 9, 2019 2:05am by Ronald Greer
    .a{fill-rule:evenodd;}techdegree seal-36
    Ronald Greer
    Front End Web Development Techdegree Graduate 56,430 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • Hien Ha
    Hien Ha
    1,417 Points

    Why student.item() is wrong

    Posted November 25, 2019 3:38am by Hien Ha
    Hien Ha
    1,417 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Atang Lekang
    Atang Lekang
    2,509 Points

    How do i complete the code so it iterates over only the values in the student dictionary.

    Posted November 21, 2019 12:08pm by Atang Lekang
    Atang Lekang
    2,509 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • Kaden Currier
    Kaden Currier
    1,490 Points

    HELP! Im failing question 2,3,4

    Posted November 15, 2019 9:04pm by Kaden Currier
    Kaden Currier
    1,490 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Antero Perez-Solis
    Antero Perez-Solis
    1,444 Points

    I am unsure what I am supposed to put in for the blank

    Posted October 24, 2019 3:58pm by Antero Perez-Solis
    Antero Perez-Solis
    1,444 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points

    Complete the code so it will iterate over only the keys in the student dictionary.

    Posted August 4, 2019 5:12pm by Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    5 Answers

  • Mathew Sams`
    Mathew Sams`
    279 Points

    If i'm printing both key and value in a dictionary it would be student.items before the print function. What if only key

    Posted July 24, 2019 9:07pm by Mathew Sams`
    Mathew Sams`
    279 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    1 Answer

  • dimas andhana
    dimas andhana
    5,543 Points

    Please help, I still don't get how to answer only keys or value on this dictionary

    Posted July 24, 2019 8:40am by dimas andhana
    dimas andhana
    5,543 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    2 Answers

  • teamz
    teamz
    44,723 Points

    Confusion on For Loop in Python in Intro to Dictionaries

    Posted July 13, 2019 11:11pm by teamz
    teamz
    44,723 Points
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries

    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.