Skip to content

elangoit4-pixel/lesson_one

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Python Data Types - Beginner's Guide 🐍

A comprehensive, interactive Jupyter notebook tutorial covering Python data types for beginners.

πŸ“š What's Covered

This tutorial provides a structured introduction to Python data types, including:

Basic Data Types

  • Integers (int) - Whole numbers
  • Floats (float) - Decimal numbers
  • Strings (str) - Text data
  • Booleans (bool) - True/False values

Collection Data Types

  • Lists [ ] - Ordered, changeable collections
  • Tuples ( ) - Ordered, unchangeable collections
  • Dictionaries { } - Key-value pairs
  • Sets { } - Unordered, unique value collections

Advanced Topics

  • Type checking with type() function
  • Type conversion between different data types
  • Practical examples and real-world applications

🎯 Learning Objectives

By the end of this tutorial, you will:

  • Understand all major Python data types
  • Know when to use each data type
  • Be able to convert between different types
  • Have hands-on experience with practical examples

πŸš€ Getting Started

Prerequisites

  • Basic computer skills
  • Python installed on your system
  • Jupyter Notebook or JupyterLab

How to Use

  1. Clone this repository
  2. Open day_one.ipynb in Jupyter Notebook
  3. Run each cell in order
  4. Complete the exercises
  5. Experiment with your own examples!

πŸ“– Notebook Structure

  1. Introduction - Overview and learning objectives
  2. Basic Data Types - Integers, floats, strings, booleans
  3. Collection Data Types - Lists, tuples, dictionaries, sets
  4. Type Operations - Checking and converting types
  5. Hands-On Practice - Interactive exercises
  6. Summary - Key takeaways and next steps

πŸ’‘ Key Features

  • Beginner-friendly explanations with clear examples
  • Interactive code cells you can run and modify
  • Progressive learning from simple to complex concepts
  • Practical exercises with real-world scenarios
  • Visual formatting with emojis and clear structure

πŸ› οΈ Exercises Included

  • Exercise 1: Variable creation practice
  • Exercise 2: Collection operations challenges
  • Exercise 3: Type conversion practice
  • Exercise 4: Real-world student grade manager

πŸ“ Notes

  • All code is tested and ready to run
  • Feel free to modify examples and experiment
  • Learning programming requires practice - don't be afraid to make mistakes!

🀝 Contributing

Feel free to:

  • Report issues or bugs
  • Suggest improvements
  • Add more examples
  • Share your solutions to exercises

πŸ“„ License

This educational content is free to use and share for learning purposes.


Happy coding! 🐍✨

Remember: Programming is like learning a new language - practice makes perfect!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 100.0%