Python daturlash maktabi 🐍
579 subscribers
343 photos
180 videos
83 files
389 links
Download Telegram
a='p.y.t.h.o.n.'
print(*(a.split(sep=".",maxsplit=5)))
Anonymous Quiz
21%
'p' 'y' 't' 'h' 'o' 'n'
29%
p y t h o n
30%
'p' 'y' 't' 'h' 'o' 'n' '.'
19%
p y t h o n.
print(float('inf')-float('inf'))
print(float('inf')*float('inf'))
print(float('inf')*0)
Anonymous Quiz
23%
nan inf nan
28%
0 inf 0
41%
TypeError
8%
nan inf 0
PythonπŸ‘¨β€πŸ’» yordamida ekranni skrinshot qilish.

🐍 Python
a=[2,1,5,3]
b=a.sort()
print(b)
Anonymous Quiz
44%
[1,2,3,5]
29%
None
17%
[5,3,2,1]
10%
Error
x,*y={1:2,3:4,5:6}
print(x)
Anonymous Quiz
22%
1, 3, 5
26%
1
26%
2, 4, 6
25%
Error
PythonπŸ‘¨β€πŸ’» yordamida tasvirni pdf-faylga o'zgartirish.

🐍 Python
def get(arr):
return(x for x in arr)
print(get([1,2,3,4,5]))
Anonymous Quiz
12%
1
22%
5
42%
generator Object
25%
1,2,3,4,5
a=chr(117)
b=chr(122)
print(a+b)
Anonymous Quiz
39%
117122
19%
ab
35%
uz
7%
-5
PythonπŸ‘¨β€πŸ’» yordamida 8-oy kalendarini ekranga chiqaruvchi dastur.

🐍 Python
a={1,2,3,4}
a.discard(0); a.discard(1)
print(a)
Anonymous Quiz
11%
{1,2,3,4}
34%
{2,3,4}
36%
{0,1,2,3,4}
19%
Error
x=10
y=30
print([i for i in range(x,y,3) if i%2==1][2])
Anonymous Quiz
14%
10
30%
19
39%
25
17%
30
​#AkmalKadirov #Mybloguz #Fullstack

Xar qanday dasturlash tilini o'rganishdan oldin bilishingiz kerak bo'lgan 12ta kontent albatta bular dasturlash sohasini o'rganishingiz uchun umumiy teoreyalar hisoblanadi...

Umumiy Dasturlash Teoriyasi :

0 - Kompyuter Tarixi: video
1 - Dasturlash tillari: video
2 - Sanoq tizimlari, bit, bayt, ASCII: video
3 - Print, O’zgaruvchan va Izoh: video
3.1 - Izohlarga javob. Konkatenatsiya: video
4 - Guruhlash va Funksiyalar: video
5 - Parametr: video
6 - Ma’lumot turlari: video
7 - Taqqoslash operatorlari. If va Else: video
8 - Mantiqiy operatorlar va Increment: video
9 - For aylanmasi, Switch va Case: video
10 - Class va Object: video
11 - Interface: video
12 - Ko’plik va O’zgarmas: video

#KadirovDev

🐍 Python
Natijani aniqlang :
Anonymous Quiz
33%
5
20%
False
38%
Xatolik yuz beradi
9%
None
PythonπŸ‘¨β€πŸ’» yordamida matnni audio formatga o'tkazish.

🐍 Python
a="pr"
b="int('hello')"
eval((a+b))
Anonymous Quiz
30%
TypeError
32%
hello
30%
prhello
9%
False
num=str(100**3)
print(len(num))
Anonymous Quiz
7%
1
45%
7
25%
10
23%
Error
Natijani aniqlang ?

print(type(int))
Anonymous Quiz
27%
<class 'int'>
33%
<class 'type'>
26%
<class 'object'>
15%
Error