Kodi qiziqmi tashlaymi? 🖱
Please open Telegram to view this post
VIEW IN TELEGRAM
FAST CODER | PHP TEAM
Please open Telegram to view this post
VIEW IN TELEGRAM
FAST CODER | PHP TEAM
telifon_funksiyasi(@fast_coder).py
# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
import tkinter as tk
from tkinter import font
class TelefonKlaviatura:
def __init__(self, root):
self.root = root
self.root.title("Telefon Klaviatura")
self.root.geometry("300x450")
self.root.resizable(False, False)
self.root.configure(bg="#242424")
self.fast_coder = ""
self.fast_coder_1 = None
self.fast_coder_2 = False
self.fast_coder_4 = tk.Frame(root, bg="#242424", highlightbackground="#555555",
highlightthickness=1, width=280, height=60)
self.fast_coder_4.pack(pady=20)
self.fast_coder_4.pack_propagate(False)
self.fast_coder_5 = font.Font(family="Arial", size=18, weight="bold")
self.ekran = tk.Label(self.fast_coder_4, text="", bg="#242424", fg="#ffffff",
font=self.fast_coder_5, anchor="e", width=20)
self.ekran.pack(pady=15, padx=10, side=tk.RIGHT)
self.fast_coder_7 = tk.Frame(root, bg="#242424")
self.fast_coder_7.pack(pady=10)
self.tugmalar = {}
self.tugma_malumotlari = [
('1', 0, 0), ('2', 0, 1), ('3', 0, 2),
('4', 1, 0), ('5', 1, 1), ('6', 1, 2),
('7', 2, 0), ('8', 2, 1), ('9', 2, 2),
('*', 3, 0), ('0', 3, 1), ('#', 3, 2)
]
self.fast_coder_6 = font.Font(family="Arial", size=16, weight="bold")
for (belgi, qator, ustun) in self.tugma_malumotlari:
tugma = tk.Button(self.fast_coder_7, text=belgi, font=self.fast_coder_6,
width=3, height=1, bg="#333333", fg="#ffffff",
activebackground="#555555", activeforeground="#ffffff",
relief=tk.RAISED, bd=3)
if belgi == '0':
tugma.bind("<ButtonPress-1>", self.nol_tugma_boshlandi)
tugma.bind("<ButtonRelease-1>", self.nol_tugma_tugadi)
else:
tugma.config(command=lambda b=belgi: self.tugma_bosildi(b))
tugma.grid(row=qator, column=ustun, padx=10, pady=10)
self.tugmalar[belgi] = tugma
# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
self.qushimcha_ramka = tk.Frame(root, bg="#242424")
self.qushimcha_ramka.pack(pady=10)
self.ochirish_tugma = tk.Button(self.qushimcha_ramka, text="⌫", font=("Arial", 16, "bold"),
bg="#cb4335", fg="#ffffff",
activebackground="#e74c3c", activeforeground="#ffffff",
relief=tk.RAISED, bd=3, width=6, height=1,
command=self.ochirish)
self.ochirish_tugma.grid(row=0, column=0, padx=10, pady=10)
self.qongiroq_tugma = tk.Button(self.qushimcha_ramka, text="📞", font=("Arial", 16, "bold"),
bg="#27ae60", fg="#ffffff",
activebackground="#2ecc71", activeforeground="#ffffff",
relief=tk.RAISED, bd=3, width=6, height=1,
command=self.qongiroq_qilish)
self.qongiroq_tugma.grid(row=0, column=1, padx=10, pady=10)
self.root.bind("<Key>", self.klaviatura_bosildi)
self.root.bind("<BackSpace>", lambda e: self.ochirish())
self.fast_coder_3 = None
def nol_tugma_boshlandi(self, event):
"""0 tugmasi bosilganda"""
self.fast_coder_1 = event.time
self.fast_coder_2 = False
self.fast_coder_3 = self.root.after(800, self.nol_uzoq_bosish)
def nol_uzoq_bosish(self):
"""0 tugmasi uzoq bosilganda"""
self.fast_coder_2 = True
self.fast_coder += "+"
self.ekran.config(text=self.fast_coder)
FAST CODER | PHP TEAM
telifon_funksiyasi(@fast_coder).py
self.tugmalar['0'].config(relief=tk.SUNKEN)
def nol_tugma_tugadi(self, event):
"""0 tugmasi qo'yib yuborilganda"""
if self.fast_coder_3:
self.root.after_cancel(self.fast_coder_3)
self.fast_coder_3 = None
if not self.fast_coder_2 and event.time - self.fast_coder_1 < 800:
self.fast_coder += "0"
self.ekran.config(text=self.fast_coder)
self.tugmalar['0'].config(relief=tk.RAISED)
self.fast_coder_2 = False
# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
def tugma_bosildi(self, belgi):
"""Tugma bosilganda"""
self.fast_coder += belgi
self.ekran.config(text=self.fast_coder)
self.tugmalar[belgi].config(relief=tk.SUNKEN)
self.root.after(100, lambda: self.tugmalar[belgi].config(relief=tk.RAISED))
def klaviatura_bosildi(self, event):
"""Kompyuter klaviaturasi bosilganda"""
bosilgan_klavish = event.char
if bosilgan_klavish in "1234567890*#":
if bosilgan_klavish == "0":
self.fast_coder += "0"
self.ekran.config(text=self.fast_coder)
else:
self.tugma_bosildi(bosilgan_klavish)
elif bosilgan_klavish == "+":
self.fast_coder += "+"
self.ekran.config(text=self.fast_coder)
elif bosilgan_klavish == "\r":
self.qongiroq_qilish()
def ochirish(self):
"""Oxirgi raqamni o'chirish"""
if len(self.fast_coder) > 0:
self.fast_coder = self.fast_coder[:-1]
self.ekran.config(text=self.fast_coder)
def qongiroq_qilish(self):
"""Qo'ng'iroq qilish tugmasi bosilganda"""
if self.fast_coder:
qongiroq_oyna = tk.Toplevel(self.root)
qongiroq_oyna.title("Qo'ng'iroq")
qongiroq_oyna.geometry("300x250")
qongiroq_oyna.configure(bg="#242424")
# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
raqam_label = tk.Label(qongiroq_oyna, text=self.fast_coder,
font=("Arial", 18, "bold"),
bg="#242424", fg="#ffffff")
raqam_label.pack(pady=(20, 5))
holat_label = tk.Label(qongiroq_oyna, text="Qo'ng'iroq qilinmoqda...",
font=("Arial", 12),
bg="#242424", fg="#999999")
holat_label.pack(pady=(0, 20))
tugmalar_ramka = tk.Frame(qongiroq_oyna, bg="#242424")
tugmalar_ramka.pack(pady=10)
FAST CODER | PHP TEAM
telifon_funksiyasi(@fast_coder).py
qongiroq_tugmalari = [
("🔊", "Ovoz balandligi", "#3498db"), # Ovoz balandligini oshirish
("📞", "Qayta qo'ng'iroq", "#27ae60"), # Qayta qo'ng'iroq
("⏸️", "Pauza", "#f39c12"), # Pauza
("🎤", "Mikrofon", "#9b59b6"), # Mikrofon
("⏺️", "Yozib olish", "#e74c3c"), # Yozib olish
("✉️", "SMS", "#1abc9c") # SMS
]
for i, (belgi, nom, rang) in enumerate(qongiroq_tugmalari):
qator = i // 3
ustun = i % 3
tugma_ramka = tk.Frame(tugmalar_ramka, bg="#242424")
tugma_ramka.grid(row=qator, column=ustun, padx=10, pady=5)
tugma = tk.Button(tugma_ramka, text=belgi, font=("Arial", 16),
bg="#333333", fg=rang, width=2, height=1,
relief=tk.RAISED, bd=2)
tugma.pack(pady=2)
nom_label = tk.Label(tugma_ramka, text=nom, font=("Arial", 8),
bg="#242424", fg="#999999")
nom_label.pack()
tugatish = tk.Button(qongiroq_oyna, text="❌ Tugatish", font=("Arial", 14),
bg="#e74c3c", fg="#ffffff",
command=qongiroq_oyna.destroy)
tugatish.pack(pady=15)
if __name__ == "__main__":
root = tk.Tk(
# Telegram kanal @fast_coder
# Dasturchi @rustam_hikmatullayev
# Groups @fastdevuz
# Manbani hurmat qilinglar!
)
app = TelefonKlaviatura(root)
root.mainloop()
Bugun 12:00 -15 :00 oralig'ida kechagi darsni qilsak nima deysizl
Anonymous Poll
59%
Ha
14%
Ha
28%
Ha😅
🔥2⚡1 1
FAST CODER | PHP TEAM pinned «Bugun 12:00 -15 :00 oralig'ida kechagi darsni qilsak nima deysizl»
Please open Telegram to view this post
VIEW IN TELEGRAM
uy ishi 1.pdf
3.8 MB
Please open Telegram to view this post
VIEW IN TELEGRAM
$son1 = 15;
$son2 = 3;
echo "Ko‘paytma: " . $son1 * $son2;
// Natija: 45
🔹 Vazifa: "Qo‘shish, ayirish va bo‘lish uchun kod yozing!"
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡5 3🔥2 2
O‘zgaruvchi nomlash san’ati 😁
❌ Qanday qilib noto‘g‘ri nomlash mumkin?
✅ To‘g‘ri nomlash:
📣 Siz qaysi eng g‘alati o‘zgaruvchi nomini ishlatgansiz? Kommentga yozing!
😎 @Fast_Coder
❌ Qanday qilib noto‘g‘ri nomlash mumkin?
$asdfg = "Salom!"; // Kim tushunadi bu nomni?
$x1y2z3 = 25; // Raqamli kod emas, bu o‘zgaruvchi!
✅ To‘g‘ri nomlash:
$ism = "Rustam";
$yosh = 25;
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡2🔥2 1
PHPda millionerlarga aylanish sirlari 😀
📌 O‘zgaruvchilar orqali boy bo‘lish mumkin, lekin faqat PHP kodida! 😂
📢 Agar siz o‘zgaruvchilar orqali boy bo‘lish imkoniga ega bo‘lsangiz, qanday kod yozardingiz? Kommentda yozing!
$pul = 10000;
$pul = $pul * 100;
echo "Men endi $pul so‘mga egaman!";
📌 O‘zgaruvchilar orqali boy bo‘lish mumkin, lekin faqat PHP kodida! 😂
📢 Agar siz o‘zgaruvchilar orqali boy bo‘lish imkoniga ega bo‘lsangiz, qanday kod yozardingiz? Kommentda yozing!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥4⚡2 2
PHPda hasadgo‘y o‘zgaruvchilar 📌
📢 Sizning fikringiz qanday? Qaysi o‘zgaruvchi sizga “hasad” qilgan bo‘lishi mumkin?🫢
$mening_maoshim = 1000; $dostimning_maoshi = 2000; if ($dostimning_maoshi > $mening_maoshim) { echo "Balki men ham backend o‘rganishim kerakdir... 😅"; }
📢 Sizning fikringiz qanday? Qaysi o‘zgaruvchi sizga “hasad” qilgan bo‘lishi mumkin?
Please open Telegram to view this post
VIEW IN TELEGRAM
⚡2