Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs
👩💻 Wᴇʟᴄᴏᴍᴇ ᴛᴏ @CodesSnippet! 🚀 Jᴏɪɴ ᴜs ғᴏʀ ᴅᴀɪʟʏ sɴɪᴘᴘᴇᴛs ᴏғ ᴄᴏᴅɪɴɢ 🧩 ᴋɴᴏᴡʟᴇᴅɢᴇ! 💻💡 Hᴇʀᴇ, ʏᴏᴜ'ʟʟ ғɪɴᴅ 👀 ʙɪᴛᴇ-sɪᴢᴇᴅ ᴘɪᴇᴄᴇs ᴏғ ᴄᴏᴅᴇ, 🔥 ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ᴛɪᴘs, ᴀɴᴅ ᴛʀɪᴄᴋs ᴛᴏ ʟᴇᴠᴇʟ ᴜᴘ ʏᴏᴜʀ ᴄᴏᴅɪɴɢ sᴋɪʟʟs! 💪💻 Sᴛᴀʏ ᴜᴘᴅᴀᴛᴇᴅ ᴏɴ ᴛʜᴇ ʟᴀᴛᴇsᴛ ᴛʀᴇɴᴅs ɪɴ ᴛᴇᴄʜ
Show more298
Subscribers
+224 hours
+167 days
+4730 days
- Subscribers
- Post coverage
- ER - engagement ratio
Data loading in progress...
Subscriber growth rate
Data loading in progress...
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 count
👍 1🔥 1
Photo unavailableShow in Telegram
Solve this using while loop ➰!
Note :- Don't use len function
Which of the following is not a complex number?Anonymous voting
- k = 2 + 3j
- k = complex(2, 3)
- k = 2 + 3l
- k = 2 + 3j
❤ 2🔥 1
Repost from Python Codes Basic to Advance
print(bool(0))
print(bool(''))Anonymous voting
- True , False
- False , True
- True , True
- False , False
Repost from Python Codes Basic to Advance
print(bool(0))
print(bool('')Anonymous voting
- False, True
- True , False
- True, True
- False , False
print(bool('0'))
print(bool(0))Anonymous voting
- False , True
- True, False
- False, False
- True, True
Choose a Different Plan
Your current plan allows analytics for only 5 channels. To get more, please choose a different plan.