Skip to content

M-Ahtasham-Ul-Haq/python-coding-questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Python Practice Questions โ€“ From Basics to Advanced

Welcome to my Python coding question repository!
This repo contains 100s of handpicked questions with fully explained solutions, starting from beginner to advanced level.


๐Ÿ“Œ Topics Covered

โœ… Variables, Data Types โœ… Conditional Statements โœ… Loops & Functions โœ… Strings, Lists, Sets, Dictionaries โœ… File I/O โœ… Object-Oriented Programming โœ… Error Handling โœ… Advanced Topics (Decorators, Generators, Regex, etc.) โœ… Real-World Mini Projects


๐Ÿง  Sample Beginner Question

# Q: Swap two variables without using a third variable
a = 5
b = 10
a, b = b, a
print("a:", a, "b:", b)  # Output: a: 10 b: 5

Releases

No releases published

Packages

 
 
 

Contributors

Languages