✨ 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:
    • Python
    • Introducing Dictionaries
    • Iterating and Packing with Dictionaries
    • Recap of Iterating and Packing with Dictionaries
    • Close
  • Orji Ogbonnaya Orji
    Orji Ogbonnaya Orji
    1,403 Points

    I need help with this Quiz

    Posted on Jun 3, 2022 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 on May 13, 2022 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 on Apr 30, 2021 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 on Apr 14, 2021 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 on Nov 14, 2020 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 on Nov 1, 2020 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 on Aug 14, 2020 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 on Aug 13, 2020 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 on Aug 13, 2020 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 on Jun 30, 2020 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 on Jun 30, 2020 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 on Jun 16, 2020 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 on Jun 4, 2020 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 on May 15, 2020 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 on May 14, 2020 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 on Apr 8, 2020 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 on Feb 29, 2020 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 on Feb 25, 2020 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 on Feb 14, 2020 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 on Feb 6, 2020 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 on Jan 14, 2020 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 on Dec 9, 2019 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 on Nov 25, 2019 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 on Nov 21, 2019 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 on Nov 15, 2019 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 on Oct 24, 2019 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 on Aug 4, 2019 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 on Jul 24, 2019 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 on Jul 24, 2019 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 on Jul 13, 2019 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.