Learn Python
108K subscribers
375 photos
8 videos
779 files
115 links
Download and watch the best premium Python Courses.

Buy ads: https://telega.io/c/LearnPython3
Download Telegram
🔰 Python Quiz
Please open Telegram to view this post
VIEW IN TELEGRAM
Options:
Anonymous Quiz
76%
A
9%
B
6%
C
10%
D
🔰 Extract All Emojis from a Text 🔰

📋 This Python program extracts all the emojis from a given text string!

import demoji

text = "Enjoy your meal! 🍽🍕🍔🍟"
emojis = demoji.findall(text)
print("Emojis found:", list(emojis.keys()))


Example Output:
Emojis found: ['🍽', '🍕', '🍔', '🍟']

🔗 Learn More Here
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🔰 Check for Palindromes with Python 🔰

📜 This Python program checks if a given word or phrase is a palindrome (reads the same backward as forward)!

def is_palindrome(text):
clean_text = ''.join(char.lower() for char in text if char.isalnum())
return clean_text == clean_text[::-1]

text = "A man, a plan, a canal: Panama"
print("Is Palindrome:", is_palindrome(text))


Example Output:
Is Palindrome: True

🔗 Learn More Here
Please open Telegram to view this post
VIEW IN TELEGRAM
🔰 Text to speech using Python
Please open Telegram to view this post
VIEW IN TELEGRAM
⌨️ File Handling in Python
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
⌨️ Python Question / Quiz;

What is the output of the following Python code, and why?
Please open Telegram to view this post
VIEW IN TELEGRAM
⌨️ Python Quiz
Anonymous Quiz
40%
A
21%
B
11%
C
28%
D
Please open Telegram to view this post
VIEW IN TELEGRAM