def minion_game(string):Читать полностью…
# your code goes here
vowels = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U']
s=string
a=[]
kevin=0
stuart=0
for i in range(len(s)):
for j in range(i,len(s)+1):
if i!=j:
a.append(s[i:j])
for el in a:
if el[0] in (vowels):
kevin+=1
else:
stuart+=1
if kevin==stuart:
print('Draw')
elif kevin>stuart:
print('Kevin',kevin)
else:
print('Stuart',stuart)
Qrup movzumuzla elaqesi yoxdur, ama yaxsi bir talk var. Linux OS nece boot olur onun haqda danisib, Red Hat-de uzerinde isledikleri yeni proyekti tanidir
https://pretalx.com/devconf-cz-2024/talk/W3AVCT/
mence ichine baxib oyrenilmeli chox shey var bu repoda djangoda bir chox teref ile bagli
hazir demosu olan open source proyektler hezz verir bir terefden chunku birinci dashboard ile oynayib prosesi basha dushmek olar, sonra a bunu nece edibler deyib source code a baxirsan olur mukemmel
https://github.com/openwisp/openwisp-users
https://www.tryexponent.com/courses
bele bir dehsetli resurs var imish, xeberim olmayib
#interview
gencler, maraqli bir case ile qarshilashmisham, bash achammadim, SO-da paylashdim:
Demeli, FastAPIde, object return edende objectin created_at field-i populated olmagina baxmayaraq, Pydantic model validate edende gedir elave SQL sorgu atir, ve neticede extra SQL bash verir. Bele bir case olubmu kimdese? Nece hell etmisiz?
Etrafli: https://stackoverflow.com/questions/78711626/pydantic-forces-sql-query-to-already-populated-field
Deyilene gore ordan oyrenib burdan da leqal haker ishleri goturmek olur. pulu ile#
https://www.hackerone.com/
Halaldir adamlara, linkedin postlari evezine oturub beynelxalq jurnal ucun meqale yaziblar https://arxiv.org/pdf/2407.02337
Читать полностью…Bu kodu yazmışam. Sadəcə olaraq input böyük olanda timeout verir. Nə kimi optimization edə bilerem
Читать полностью…Belə bir sualım var. Hazır həll istəmirəm sadəcə olaraq logic olaraq kim nə təklif edir
Читать полностью…https://django.wtf/
ve onun daha maraqli hissesi:
https://django.wtf/category/projects/
Salam 👋
PyCon Italy 2024 -da "Building a self-service kubernetes platform for python developers" mövzusunda etdiyim çıxışımı youtube üzərindən izləyə bilərsiniz:
https://youtu.be/Z57UzSQfXis?si=nhuV-Y-2uFYcyAjp
ona da deyirler Bug Bounty) maraqli sahedir tebii ki) sadece gerek ilkin ish kimi ele buna yonelib davam edesen, 30-dan sora girishende nese neto gelir :D
Читать полностью…