How many of you know about First-Class Functions and Higher-Order Functions in Python?
Anonymous Poll
20%
I know both ๐
24%
Iโve heard of them but not sure ๐
57%
Never heard of them ๐
๐ฅ2๐1
If most people vote 'Never heard of them,' I'll create a post breaking it down in the simplest way possible!
โค13๐6๐4
Are you struggling to find a good final-year project or a unique project to add to your resume?
Anonymous Poll
77%
โ
Yes, I need help with ideas
17%
๐ป Yes, I need source codes
1%
๐ No, I already have one
4%
๐ซ I'm not looking for projects right now
๐8
What is the primary purpose of decorators in Python?
Anonymous Quiz
63%
1๏ธโฃ Add functionality to a function
13%
2๏ธโฃ Create new data types
13%
3๏ธโฃ Define global variables
11%
4๏ธโฃ Format strings
โค3๐2
If you remember this reel - https://www.instagram.com/reel/DC_zpM2A1vW/, where I showed how to create a QR code in just four lines, that was pretty easy, right?
Well, in this new code, we're adding more customization options like error handling, QR code size, design, and more!
Well, in this new code, we're adding more customization options like error handling, QR code size, design, and more!
๐7โค2
import qrcode
def generate_qr_code(text, file_name):
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=3
)
qr.add_data(text)
qr.make(fit=True)
img = qr.make_image(fill_color="#4B8BBE", back_color="white")
img.save(file_name)
if name == "main":
text = "https://www.instagram.com/pycode.hubb/"
file_name = "qr_code.png"
generate_qr_code(text, file_name)
print(f"QR code saved as {file_name}")
def generate_qr_code(text, file_name):
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=3
)
qr.add_data(text)
qr.make(fit=True)
img = qr.make_image(fill_color="#4B8BBE", back_color="white")
img.save(file_name)
if name == "main":
text = "https://www.instagram.com/pycode.hubb/"
file_name = "qr_code.png"
generate_qr_code(text, file_name)
print(f"QR code saved as {file_name}")
๐ฅ20๐11
What Python library is most commonly used for data manipulation and analysis?
Anonymous Quiz
11%
Scikit-learn
22%
Matplotlib
48%
Pandas
20%
NumPy
๐6๐ฅ1
Hint: This library provides DataFrame and Series structures, which are essential for handling structured data in Python.
โค10
๐ Thanks to these legends, building logic is a piece of cake!
โ๏ธ Code With Harry: Click Here!
๐ต Chai aur Code: Click Here!
๐ป Sahil & Sarra: Click Here!
๐ฅ Sahil & Sarra: Click Here!
๐ Sheryians Coding School: Click Here!
๐พ The Coding Sloth: Click Here!
Happy Coding!
โ๏ธ Code With Harry: Click Here!
๐ต Chai aur Code: Click Here!
๐ป Sahil & Sarra: Click Here!
๐ฅ Sahil & Sarra: Click Here!
๐ Sheryians Coding School: Click Here!
๐พ The Coding Sloth: Click Here!
Happy Coding!
๐ฅ11๐4
x, y = {"a": 1, "b": 2}, {"b": 3, "c": 4}
z = {**x, **y}
print(z)
z = {**x, **y}
print(z)
Anonymous Quiz
8%
{'a': 1, 'b': 2, 'c': 4}
18%
{'a': 1, 'b': 3, 'c': 4}
40%
{'a': 1, 'b': 2, 'b': 3, 'c': 4}
34%
Error
๐22โค8๐ฅฐ1
Best Python Books For Beginners โคต๏ธ
Python Crash Course: A Hands-On, Project-Based Introduction to Programming (2nd Edition)
For Indian users: ๐ฎ๐ณ https://amzn.to/42lQXjU
For international users: ๐ https://amzn.to/40q62OR
Head-First Python: A Brain-Friendly Guide (2nd Edition)
For Indian users: ๐ฎ๐ณ https://amzn.to/4gZ0ly5
For international users: ๐ https://amzn.to/4h1CKgi
Learn Python the Hard Way: 3rd Edition
For Indian users: ๐ฎ๐ณ https://amzn.to/40fgfgQ
For international users: ๐ https://amzn.to/40u1zL4
Python Programming: An Introduction to Computer Science (4th Edition)
For Indian users: ๐ฎ๐ณ https://amzn.to/4g6Wqye
For international users: ๐ https://amzn.to/4h0ploG
Python Crash Course: A Hands-On, Project-Based Introduction to Programming (2nd Edition)
For Indian users: ๐ฎ๐ณ https://amzn.to/42lQXjU
For international users: ๐ https://amzn.to/40q62OR
Head-First Python: A Brain-Friendly Guide (2nd Edition)
For Indian users: ๐ฎ๐ณ https://amzn.to/4gZ0ly5
For international users: ๐ https://amzn.to/4h1CKgi
Learn Python the Hard Way: 3rd Edition
For Indian users: ๐ฎ๐ณ https://amzn.to/40fgfgQ
For international users: ๐ https://amzn.to/40u1zL4
Python Programming: An Introduction to Computer Science (4th Edition)
For Indian users: ๐ฎ๐ณ https://amzn.to/4g6Wqye
For international users: ๐ https://amzn.to/4h0ploG
๐7โค2
Need help with your assignments or projects? ๐๐ป
I'm here to assist!
Drop me a DM (@akash_b1), and let's get started. ๐
I'm here to assist!
Drop me a DM (@akash_b1), and let's get started. ๐
๐3
Which function in NumPy is used to calculate the mean of an array?
Anonymous Quiz
6%
np.median()
71%
np.mean()
14%
np.average()
9%
np.sum()
๐4โค1
Website_Blocker.py
5.8 KB
100 Reactions Done ๐ฅณ (On Broadcast Channel)
Hereโs the source code for you guys!
Hereโs the source code for you guys!
โค18๐5
Top Laptops for Coding & Programming to Grab During Republic Sale ๐ฎ๐ณ๐ฎ๐ณ
Planning to Buy a New Laptop This Republic Sale? Check Out These Top Picks! Prices may vary, so make sure to check the latest price via the provided link.
โ Best CODING & Programming Laptops Under 30000 โ
๐ป HP Laptop 255 G9 (2024): https://amzn.to/4gdPzTu
๐ป MSI Modern 15: https://amzn.to/4atgRUT
โ Best CODING & Programming Laptops Under 40000 โ
๐ป HP 15S AMD Ryzen 5000: https://amzn.to/3PTh1es
๐ป Lenovo V15: https://amzn.to/3Covyfm
๐ป Lenovo V14: https://amzn.to/4h7NJVI
โ Best CODING & Programming Laptops Under 50000 โ
๐ป ASUS Vivobook 15: https://amzn.to/4asyTGJ
๐ป Lenovo IdeaPad Slim 3: https://amzn.to/40wfRKR
๐ป ASUS TUF F17 Gaming Laptop: https://amzn.to/3CpsHmi
๐ป HP 15 fd0070tu: https://amzn.to/40rdSHX
๐ป HP Pavilion, AMD Ryzen 5 7530U: https://amzn.to/3PPfje9
โ Best CODING & Programming Laptops Under 60000 โ
๐ป Apple MacBook Air Laptop: https://amzn.to/3PMqC79
๐ป HP Pavilion: https://amzn.to/4gZnSPD
๐ป HP Pavilion Touchscreen: https://amzn.to/4gbnkVF
๐ป Lenovo LOQ 2024: https://amzn.to/3WrHQKr
๐ป HP Victus: https://amzn.to/4hsKTKK
Planning to Buy a New Laptop This Republic Sale? Check Out These Top Picks! Prices may vary, so make sure to check the latest price via the provided link.
โ Best CODING & Programming Laptops Under 30000 โ
๐ป HP Laptop 255 G9 (2024): https://amzn.to/4gdPzTu
๐ป MSI Modern 15: https://amzn.to/4atgRUT
โ Best CODING & Programming Laptops Under 40000 โ
๐ป HP 15S AMD Ryzen 5000: https://amzn.to/3PTh1es
๐ป Lenovo V15: https://amzn.to/3Covyfm
๐ป Lenovo V14: https://amzn.to/4h7NJVI
โ Best CODING & Programming Laptops Under 50000 โ
๐ป ASUS Vivobook 15: https://amzn.to/4asyTGJ
๐ป Lenovo IdeaPad Slim 3: https://amzn.to/40wfRKR
๐ป ASUS TUF F17 Gaming Laptop: https://amzn.to/3CpsHmi
๐ป HP 15 fd0070tu: https://amzn.to/40rdSHX
๐ป HP Pavilion, AMD Ryzen 5 7530U: https://amzn.to/3PPfje9
โ Best CODING & Programming Laptops Under 60000 โ
๐ป Apple MacBook Air Laptop: https://amzn.to/3PMqC79
๐ป HP Pavilion: https://amzn.to/4gZnSPD
๐ป HP Pavilion Touchscreen: https://amzn.to/4gbnkVF
๐ป Lenovo LOQ 2024: https://amzn.to/3WrHQKr
๐ป HP Victus: https://amzn.to/4hsKTKK
๐6โก4โค3