Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs
رفتن به کانال در Telegram
👩💻 Wᴇʟᴄᴏᴍᴇ ᴛᴏ @CodesSnippet! 🚀 Jᴏɪɴ ᴜs ғᴏʀ ᴅᴀɪʟʏ sɴɪᴘᴘᴇᴛs ᴏғ ᴄᴏᴅɪɴɢ 🧩 ᴋɴᴏᴡʟᴇᴅɢᴇ! 💻💡 Hᴇʀᴇ, ʏᴏᴜ'ʟʟ ғɪɴᴅ 👀 ʙɪᴛᴇ-sɪᴢᴇᴅ ᴘɪᴇᴄᴇs ᴏғ ᴄᴏᴅᴇ, 🔥 ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ᴛɪᴘs, ᴀɴᴅ ᴛʀɪᴄᴋs ᴛᴏ ʟᴇᴠᴇʟ ᴜᴘ ʏᴏᴜʀ ᴄᴏᴅɪɴɢ sᴋɪʟʟs! 💪💻 Sᴛᴀʏ ᴜᴘᴅᴀᴛᴇᴅ ᴏɴ ᴛʜᴇ ʟᴀᴛᴇsᴛ ᴛʀᴇɴᴅs ɪɴ ᴛᴇᴄʜ
نمایش بیشترکشور مشخص نشده استفناوری و برنامهها51 481
305
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-67 روز
-630 روز
آرشیو پست ها
To concatenate two strings to a third what statements are applicable?
🖥 How to hide secret text inside an image using Python?
Nothing complicated, you just need the Stegano library:
# pip install stegano
from stegano import lsb
secret = lsb.hide('image.png', 'very secret text')
secret.save('secret_image.png')
print(lsb.reveal('secret_image.png'))Solution by @Orbhaikyahallhai
def count_digits(n):
if n == 0:
return 1
n = abs(n)
count = 0
while n > 0:
n = n // 10
count += 1
return countRepost from PYTHON PROGRAMMING
❔ Interview question
How do any() and all() work?
Answer: any() - takes a sequence and returns true if any element in the sequence is true.
all() - Returns true only if all elements in the sequence are true.
➡️ Python Developer
