Skip to content

Joseph-T-Gordon

A complete log of all recent projects and skills

Menu
  • About me
  • Posts/Projects
  • Resume/Certifications
Menu

Post #48 (Python Programming) – The use of tuples within Dictionaries

Posted on June 19, 2023June 26, 2023 by admin

I’ve mentioned how tuples can be used within dictionaries in a previous post but I thought I would take the time just to show what that would look like, this will be a quick one.

Ex:

Dictionary = {Variable: 5, Float: 5.5, list: [1,2,3,4,5], tuple:1,}

print(Dictionary[tuple])

Result:

1,

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

© 2025 Joseph-T-Gordon | Powered by Minimalist Blog WordPress Theme