Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs
Open in Telegram
👩💻 Wᴇʟᴄᴏᴍᴇ ᴛᴏ @CodesSnippet! 🚀 Jᴏɪɴ ᴜs ғᴏʀ ᴅᴀɪʟʏ sɴɪᴘᴘᴇᴛs ᴏғ ᴄᴏᴅɪɴɢ 🧩 ᴋɴᴏᴡʟᴇᴅɢᴇ! 💻💡 Hᴇʀᴇ, ʏᴏᴜ'ʟʟ ғɪɴᴅ 👀 ʙɪᴛᴇ-sɪᴢᴇᴅ ᴘɪᴇᴄᴇs ᴏғ ᴄᴏᴅᴇ, 🔥 ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ᴛɪᴘs, ᴀɴᴅ ᴛʀɪᴄᴋs ᴛᴏ ʟᴇᴠᴇʟ ᴜᴘ ʏᴏᴜʀ ᴄᴏᴅɪɴɢ sᴋɪʟʟs! 💪💻 Sᴛᴀʏ ᴜᴘᴅᴀᴛᴇᴅ ᴏɴ ᴛʜᴇ ʟᴀᴛᴇsᴛ ᴛʀᴇɴᴅs ɪɴ ᴛᴇᴄʜ
Show moreThe country is not specifiedTechnologies & Applications51 481
305
Subscribers
No data24 hours
-67 days
-630 days
Loading data
Similar Channels
No data
Any problems? Please refresh the page or contact our support manager.
Tags Cloud
No data
Any problems? Please refresh the page or contact our support manager.
Incoming and Outgoing Mentions
---
---
---
---
---
---
Attracting Subscribers
October '26Oct '26
October '260
in 0 channels
September '260
in 0 channels
Get PRO
August '260
in 0 channels
Get PRO
July '260
in 0 channels
Get PRO
June '260
in 0 channels
Get PRO
May '260
in 0 channels
Get PRO
April '260
in 0 channels
Get PRO
March '260
in 0 channels
Get PRO
February '260
in 0 channels
Get PRO
January '260
in 0 channels
Get PRO
December '250
in 0 channels
Get PRO
November '250
in 0 channels
Get PRO
October '250
in 0 channels
Get PRO
September '250
in 0 channels
Get PRO
August '250
in 0 channels
Get PRO
July '250
in 1 channels
Get PRO
June '250
in 1 channels
Get PRO
May '250
in 1 channels
Get PRO
April '250
in 0 channels
Get PRO
March '250
in 0 channels
Get PRO
February '250
in 1 channels
Get PRO
January '250
in 7 channels
Get PRO
December '240
in 4 channels
Get PRO
November '240
in 2 channels
Get PRO
October '240
in 0 channels
Get PRO
September '24
+20
in 2 channels
Get PRO
August '24
+14
in 2 channels
Get PRO
July '24
+39
in 3 channels
Get PRO
June '24
+57
in 2 channels
Get PRO
May '24
+249
in 2 channels
Channel Posts
Repost from Python Codes Basic to Advance
way to create array and perform operation using numpy.
pip install numpy
code :
import numpy as n
# creating array
d=n.array([1,2,3])
d2=n.array([4,5,6])
print(d) #it doesnt seperated with comma
print(d2) #it doesnt seperated with comma
# performing operation
print(d+d2) #it adds the corresponding elements of the arrays
print(d2-d) #it subtracts the corresponding elements of the arrays
print(d*d2) #it multiplies the corresponding elements of the arrays
#similary you can do operation with single element
d3=n.array([10])
print(d*d3)
print(d+d3)
print(d-d3)
Output:-
[1 2 3] [4 5 6] [5 7 9] [3 3 3] [ 4 10 18] [10 20 30] [11 12 13] [-9 -8 -7]
| 2 | What will be the output of the following Python code?
print("xyyzxyzxzxyy".count('yy', 1)) | 608 |
| 3 | print((3 > 2) > 1) | 405 |
| 4 | Python won the "Best Community Support" award. Which year was it recognized for having the most helpful community? | 171 |
| 5 | How to set margin top and bottom in Tailwindcss ? | 159 |
| 6 | How can we set margin top and bottom in Tailwindcss ? | 1 |
| 7 | . | 1 |
| 8 | How can we write margin from top and bottom in tailwindcss? | 1 |
| 9 | What will be the output of the following Python code?
print("abc DEF".capitalize()) | 1 672 |
| 10 | What is the output of the above puthon code | 206 |
| 11 | a = [1, 2, 3]
a.append([4, 5])
print(len(a)) | 188 |
| 12 | Which tag is used to create a dropdown in HTML Form? | 220 |
| 13 | Guess the correct option | 222 |
| 14 | Guess the correct answer... | 209 |
| 15 | What's the right answer? | 245 |
| 16 | ⌨️ Python Quiz | 225 |
| 17 | Which of the following is a mutable data type in Python? | 241 |
| 18 | By using
sys.getsizeof(), you can easily measure the memory consumption of different data structures, helping you make informed decisions about which to use based on resource availability.
import sys
list1=[1,2,3,4,5]
tup1=(1,2,3,4,5)
print(sys.getsizeof(list1),"bytes")
print(sys.getsizeof(tup1),"bytes")
Output :
104 bytes
80 bytes
[Program finished]
📱 Join us for more Python tips: @CodesSnippet
#pythonhandbook
#pythonbook
#python3
#python | 240 |
| 19 | tuples=(1,2,4,5)
X,y=tuples
print (X,y) | 1 334 |
| 20 | tuples=(1,2,4,5)
X,*y=tuples
print (X,y) | 1 236 |
