Posts filter


users = {
'name': "Azizbek",
'lastname': "Ahmadjonv",
'age': 18,
'address': "Ferghana"
}


name, lastname, age, address = users.values()
Python 🤧


let user = {
name: "John",
lastname: "Doe",
age: 30,
hobby: {
sport: 'workout',
game: 'Chess'
},
phoneNumber: "+998901234567",
email: "john.doe@example.com",
};

let {name, lastname, age, hobby, phoneNumber, email} = user;
console.log(name);
console.log(hobby);


JavaScript-dagi object destructuring – bu obyektlardan qiymatlarni oddiy va qulay usulda ajratib olish va ularni alohida o‘zgaruvchilarda saqlash imkonini beruvchi texnikadir. Ushbu usul kodni yanada ixcham va tushunarli qilishga yordam beradi.
Avval eshitganlar bormi?


Xato topganlar xafa bo'memiz adashdilaring


Natijasi qanday bo'ladi?
Poll
  •   6
  •   8
  •   undefined
3 votes


let user = {
name: "John",
lastname: "Doe",
age: 30,
hobby: {
sport: 'workout',
game: 'Chess'
},
phoneNumber: "+998901234567",
email: "john.doe@example.com"
};

console.log(user.length);


users = {
'name': "Azizbek",
'lastname': "Ahmadjonv",
'age': 18,
'address': "Ferghana"
}
for key, value in users.items():
print(f"{key}: {value}")
Bu esa Pythonda ko'rinishi


let user = {
name: "John",
lastname: "Doe",
age: 30,
hobby: ["programming", "reading", "travelling"],
phoneNumber: "+998901234567",
email: "john.doe@example.com"
};

for (let key in user) {
console.log(`Key: ${key};\nValue: ${user[key]}`);
}
JavaScript


Which one do you prefer?
Poll
  •   JavaScript
  •   Python
5 votes


number = int(input("Biror son kiriting: "))
print("Juft" if number % 2 == 0 else "Toq")
Python ternary operator


let num = +prompt("Biror son kiriting: ");
num % 2 != 0 ? console.log("Toq!"): console.log("Juft");
JavaScript ternary operator


Ternary operator haqida eshitganmisiz?


Ushbu web-sayt uchun backend yozishni boshlagan edim.Men o'ylaganimdan ancha qiyin ekan😂.*nasini emsin.
Hali 50% i ham bo'lgani yo'q




Yaxshiyam shu Uztelecom bora... 😂




Dasturlash bo'yicha onlayn tekin darslar(Ishonchli, o'zim sinab ko'rganman 😁✅):

💻 Frontend:
1.Ulugbek Samigjanov darslari - www.youtube.com/@UlugbekSamigjonov.
Darslar frontend ni endi boshlaganlar uchun HTML dan tortib SASS gacha kurslar mavjud.
Muhimi, darslar qisqa va lo'nda.Qolganlarga o'xshab darsni cho'zib o'tirmasdan qisqa vaqt ichida anchagina narsani o'rgatib qo'yadi.

💻 Backend va Frontend:
1.Samar Badriddinov ning https://www.sammi.ac/ ushbu sammi platformasidagi kurslar.
Platformada siz turli xil kurslarni topishingiz mumkin, frontend, backend, hatto telegram botlar bo'yicha ham tekin kurslar mavjud.
Kirasiz ozizga ma'qul kelgan kursni boshlaysizm o'rganasiz tamom!


Welcome to 2025 guys. Another year that you can make it full of opportunities for you and your future started a couple of minutes ago.


2024 - yilning oxirgi kuni 😢


2.Ikkinchi muhim package: Django Cleanup,
u sizga o'zgartirilgan rasm, video kabilarni projectingizdan avtomatik ravishda o'chirib tashlaydi.
pip install django-cleanup terminalga kirib ushbu buyruqni kiriting hamda yuklanib bo'lingandan keyin xuddi yuqoridagi package kabi INSTALLED_APPS ga kirasiz hamda ushbu qismning eng oxiriga 'django_cleanup.apps.CleanupConfig', shuni yozib qo'yasiz qarabsizki sizda hammasi tayyor.Endi xotirangiz to'lib ketishidan xavotir olmasangiz ham bo'laveradi.
Qo'shimcha ma'lumot: https://pypi.org/project/django-cleanup/

20 last posts shown.