Python Programming
1.75K subscribers
592 photos
2 videos
190 files
8 links
Learning Python programming is easy! 🔥

🎯 Free project tutorials


🏆 Daily quiz and Weekly Quiz Challenge

🚀 Hands-on guides


Learn to build projects from small to large and improve your skills!

Support My Work: https://buymeacoffee.com/mdsabbirahma
Download Telegram
Binary_search.py
483 B
Binary Search in Python 🚀

Do not forget to React ❤️  to this Message for More Content Like this

     
        
Thanks For Joining All ❤️
6👍1🔥1
Which loop runs until a condition is False?
Anonymous Quiz
23%
for loop
47%
while loop
17%
do-while loop
13%
loop-until
4👍1
List Comprehension In Python 🚀

Don't Forget to give reactions❤️
3👍2🔥1
Which function returns the square root of a number?
Anonymous Quiz
10%
math.pow()
62%
math.sqrt()
16%
sqrt()
12%
math.root()
3👍1
Functions in Python 🚀

Don't Forget to give reactions❤️
3👏2🔥1
medium_article_reader.py
641 B
Medium Article Reader in Python 🚀

Do not forget to React ❤️  to this Message for More Content Like this

     
        
Thanks For Joining All ❤️
2👍1🔥1
What will int("5.5") return?
Anonymous Quiz
46%
5
7%
6
16%
Error
30%
5.5
3👍2
Important Python concepts that every beginner should know

1. Variables & Data Types 🧠
Variables are like boxes where you store stuff.
Python automatically knows the type of data you're working with!
name = "Alice"        # String  
age = 25              # Integer 
height = 5.6          # Float 
is_student = True     # Boolean

2. Conditional Statements 🔀
Want your program to make decisions?
Use if, elif, and else!
if age > 18:  
    print("You're an adult!") 
else: 
    print("You're a kid!")

3. Loops 🔁
Repeat tasks without writing them 100 times!

For loop – Loop over a sequence

While loop – Loop until a condition is false

for i in range(5):  
    print(i)  # 0 to 4 

count = 0 
while count < 3: 
    print("Hello") 
    count += 1

4. Functions ⚙️
Reusable blocks of code. Keeps your program clean and DRY (Don't Repeat Yourself)!
def greet(name):  
    print(f"Hello, {name}!") 

greet("Bob")

5. Lists, Tuples, Dictionaries, Sets 📦

List: Ordered, changeable

Tuple: Ordered, unchangeable

Dict: Key-value pairs

Set: Unordered, unique items

my_list = [1, 2, 3]  
my_tuple = (4, 5, 6) 
my_dict = {"name": "Alice", "age": 25} 
my_set = {1, 2, 3}

6. String Manipulation ✂️
Work with text like a pro!
text = "Python is awesome"  
print(text.upper())  # PYTHON IS AWESOME 
print(text.replace("awesome", "cool"))  # Python is cool

7. Input from User ⌨️
Make your programs interactive!
name = input("Enter your name: ")  
print("Hello " + name)

8. Error Handling ⚠️
Catch mistakes before they crash your program.
try:  
    x = 1 / 0 
except ZeroDivisionError: 
    print("You can't divide by zero!")

9. File Handling 📁
Read or write files using Python.
with open("notes.txt", "r") as file:  
    content = file.read() 
    print(content)

10. Object-Oriented Programming (OOP) 🧱
Python lets you model real-world things using classes and objects.
class Dog:  
    def init(self, name): 
        self.name = name 

    def bark(self): 
        print(f"{self.name} says woof!") 

my_dog = Dog("Buddy") 
my_dog.bark()

Don't Forget to give reactions❤️
3🔥3👍1
Sending_emails_using_python.py
721 B
Sending Emails using Python 🚀

Do not forget to React ❤️  to this Message for More Content Like this

     
        
Thanks For Joining All ❤️
5👍3🔥1
Which of the following is not a comparison operator?
Anonymous Quiz
16%
==
23%
!=
57%
<>
4%
<=
2👍1
This media is not supported in your browser
VIEW IN TELEGRAM
👍3
6 PYTHON WAYS TO REVERSE A LIST 🚀

Don't Forget to give reactions❤️
5🔥1