Skip to content

About

This repository contains Python practice programs based on fundamental programming concepts, covering Python character sets, variables, identifier rules, data types, operators, and type conversion and casting. It serves as a foundation for learning Python programming and developing core programming skills.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Python-Fundamentals

📚 Topics Covered

# Topic Status
1 Python Character Set ✅
2 Variables & Memory Reference ✅
3 Rules of Identifiers & Keywords ✅
4 Built-in Data Types ✅
5 Types of Operators ✅
6 Type Conversion vs Type Casting ✅

📂 Practice Files

File Topics Questions
01_Basic.py Character Set, Variables, Identifiers 07
02_Data_and_operators.py Data Types, Operators 09
03_type_conversion.py Type Conversion & Casting 06
04_challenge.py All Topics Mixed (Mini Projects) 02

💡 Quick Cheat Sheet (Lecture 1 Highlights)

Click to expand quick revision notes

1. Identifier Rules

  • Can contain: letters (a-z, A-Z), digits (0-9), and underscores (_).
  • Cannot start with a digit (e.g., 2name is invalid).
  • Cannot use reserved keywords (for, class, if, etc.).
  • Case-sensitive (Age $\neq$ age).

2. Operators Precedence

  1. () — Parentheses
  2. ** — Exponentiation
  3. +x, -x — Unary plus/minus
  4. *, /, //, % — Multiplication, Division, Floor Division, Modulo
  5. +, - — Addition, Subtraction
  6. ==, !=, <, <=, >, >= — Comparison
  7. not, and, or — Logical Operators

3. Falsy Values in Python

The following always evaluate to False in bool():

  • Constants: None, False
  • Zero numbers: 0, 0.0, 0j
  • Empty sequences/collections: "", [], (), {}, set()

📅 Series Progress

  • Lecture 01 — Basics, Data Types & Operators 📍 (Current)
  • Lecture 02 — Coming Soon
  • Lecture 03 — Coming Soon
  • Lecture 04 — Coming Soon
  • Lecture 05 — Coming Soon
  • Lecture 06 — Coming Soon
  • Lecture 07 — Coming Soon
  • Lecture 08 — Coming Soon
  • Lecture 09 — Coming Soon

🤝 Connect & Feedback

If you found this helpful or have any questions:

  • 💬 Found a bug / Have a solution? Open an Issue or create a Pull Request.

⭐ Support

If you like this series and want to support it, please give this repository a Star (⭐)! It helps others discover this learning resource.

About

This repository contains Python practice programs based on fundamental programming concepts, covering Python character sets, variables, identifier rules, data types, operators, and type conversion and casting. It serves as a foundation for learning Python programming and developing core programming skills.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages