uz
Feedback
Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs

Cᴏᴅᴇs Sɴɪᴘᴘᴇᴛs

Kanalga Telegram’da o‘tish

👩‍💻 Wᴇʟᴄᴏᴍᴇ ᴛᴏ @CodesSnippet! 🚀 Jᴏɪɴ ᴜs ғᴏʀ ᴅᴀɪʟʏ sɴɪᴘᴘᴇᴛs ᴏғ ᴄᴏᴅɪɴɢ 🧩 ᴋɴᴏᴡʟᴇᴅɢᴇ! 💻💡 Hᴇʀᴇ, ʏᴏᴜ'ʟʟ ғɪɴᴅ 👀 ʙɪᴛᴇ-sɪᴢᴇᴅ ᴘɪᴇᴄᴇs ᴏғ ᴄᴏᴅᴇ, 🔥 ᴘʀᴏɢʀᴀᴍᴍɪɴɢ ᴛɪᴘs, ᴀɴᴅ ᴛʀɪᴄᴋs ᴛᴏ ʟᴇᴠᴇʟ ᴜᴘ ʏᴏᴜʀ ᴄᴏᴅɪɴɢ sᴋɪʟʟs! 💪💻 Sᴛᴀʏ ᴜᴘᴅᴀᴛᴇᴅ ᴏɴ ᴛʜᴇ ʟᴀᴛᴇsᴛ ᴛʀᴇɴᴅs ɪɴ ᴛᴇᴄʜ

Ko'proq ko'rsatish
305
Obunachilar
Ma'lumot yo'q24 soatlar
-67 kunlar
-630 kunlar

Ma'lumot yuklanmoqda...

O'xshash kanallar
Ma'lumot yo'q
Muammo bormi? Iltimos, sahifani yangilang yoki bizning qo'llab-quvvatlash boshqaruvchimizga murojaat qiling>.
Taglar buluti
Ma'lumot yo'q
Muammo bormi? Iltimos, sahifani yangilang yoki bizning qo'llab-quvvatlash boshqaruvchimizga murojaat qiling>.
Kirish va chiqish esdaliklari
---
---
---
---
---
---
Obunachilarni jalb qilish
Oktabr '24
Oktabr '240
0 kanalda
Sentabr '24
+20
2 kanalda
Get PRO
Avgust '24
+14
2 kanalda
Get PRO
Iyul '24
+39
3 kanalda
Get PRO
Iyun '24
+57
2 kanalda
Get PRO
May '24
+249
2 kanalda
Sana
Obunachilarni jalb qilish
Esdaliklar
Kanallar
05 Oktabr0
04 Oktabr0
03 Oktabr0
02 Oktabr0
01 Oktabr0
Kanal postlari
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...
Guess the correct answer...
209
15
What's the right answer?
245
16
⌨️ Python Quiz
⌨️ 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