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
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
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿคจ4
Python for OSINT.pdf
19 MB
Python For OSINT ๐Ÿš€

Do not forget to React โค๏ธ  to this Message for More Content Like this

     
        
Thanks For Joining All โค๏ธ
โค10๐Ÿ‘3
๐ŸŽฒ Quiz 'Python - Weekly Quiz Challenge ๐Ÿค“'
๐Ÿ–Š 5 questions ยท โฑ 30 sec
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ‘3
๐Ÿ† Top results in the quiz 'Python - Weekly Quiz Challenge ๐Ÿค“'

๐Ÿ–Š 5 questions
โฑ 30 seconds per question
๐Ÿค“ 42 people took the quiz

๐Ÿฅ‡ @R_sama_2017 โ€“ 5 (41.7 sec)
๐Ÿฅˆ @Alexpp83 โ€“ 5 (44 sec)
๐Ÿฅ‰ @Aung25200 โ€“ 4 (33.2 sec)
  4.  @AJEEBORLAH โ€“ 4 (35.6 sec)
  5.  Beetho . โ€“ 4 (49.3 sec)
  6.  Ren Chiaw โ€“ 4 (54.5 sec)
  7.  Nikil Reddy โ€“ 3 (49.4 sec)
  8.  FalconS ๐Ÿชƒ โ€“ 3 (54.5 sec)
  9.  Gerard Zikpi โ€“ 3 (1 min 11 sec)
10.  Obada Altabaa โ€“ 3 (1 min 19 sec)

Top 10 Results of Yesterday's Quiz๐ŸŽ–๏ธโœจ


@python_programming_42 โœจ

#python #programming #quiz
โค4๐Ÿฅฐ1
What is the best way to swap two variables a and b?
Anonymous Quiz
18%
a = b; b = a
28%
a, b = b, a
49%
swap(a, b)
4%
b, a = b, a
โค3๐Ÿ‘3
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿค”2๐Ÿ‘€1
Python Data Types ๐Ÿš€

Don't Forget to give reactionsโค๏ธ
โค4๐Ÿ”ฅ3