Python at Unimelb
Digital Skills TrainingSupport
  • 👩‍💻Python Digital Skills Training
  • Welcome
    • 🧐Training overview
      • 😇About Trainer
        • 😚Python Class
        • 🎬Python Tutorial
        • ✨GitHub
    • ⚠️Eligibility and Requirements
    • 🤏Expectations
    • 🦸Support
  • Python Workshops
    • 🤖Install Python
    • 🔮Virtual Environment
    • ⛔Error
    • 🎲Introduction to Python
    • 🐢Data Structure
    • 🧠Think like Python
    • 🔢Introduction to NumPy
    • 🔢Numpy 2
    • 🐼Introduction to Pandas
    • 🐼pandas 2
    • 🐼pandas 3
Powered by GitBook
On this page
  • Topics Covered in This Session
  • Test Your Knowledge!
  • Data Structure Session Document 📚

Was this helpful?

  1. Python Workshops

Data Structure

PreviousIntroduction to PythonNextThink like Python

Last updated 2 months ago

Was this helpful?

This Data Structure session is designed for beginners who want to start their Python programming journey. By the end of this session, you will have a solid understanding of four fundamental Python data structures: Lists, Tuples, Sets, and Dictionaries.

Topics Covered in This Session

  1. List:

The List is a dynamic and ordered collection of elements, allowing the storage of heterogeneous data types. Lists support versatile operations, such as indexing, slicing, and modification, making them fundamental for managing and organizing data.

  1. Tuple:

The Tuple is an immutable and ordered collection of elements, typically used to group related data. Tuples are defined by parentheses and are valuable for scenarios where data integrity and immutability are desired.

  1. Set

The Set is an unordered collection of unique elements, defined by curly braces. Sets offer efficient methods for set operations like union, intersection, and difference, making them useful for managing distinct values in a program

  1. Dictionary:

The Dictionary is a dynamic collection of key-value pairs, providing efficient data retrieval through keys. Dictionaries are versatile for organizing and accessing data based on unique identifiers, offering essential functionality for efficient data representation.

Test Your Knowledge!

After completing the tutorial, challenge yourself with a Quiz designed to test your understanding of Python data structures

Data Structure Session Document 📚


🐢
13KB
Python Data Structures Lists, Tuples, Sets & Dicts.ipynb
Session Material
7KB
Quiz_Data_Structure.ipynb
Data Structure Session Quiz
The Dictionary data type in Python is inspired by the structure of a traditional dictionary book.