372
Subscribers
No data24 hours
-107 days
-7930 days
Posts Archive
372
from aiogram import Bot, Dispatcher, types
from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from aiogram.utils import executor
# Bot tokeningizni kiriting
API_TOKEN = 'token'
bot = Bot(token=BOT TOKEN)
dp = Dispatcher(bot)
@dp.message_handler(commands=['start'])
async def start_command(message: types.Message):
keyboard = InlineKeyboardMarkup().add(
InlineKeyboardButton(text="Nusxalash", callback_data="copy")
)
await message.answer("Matnni nusxalash uchun tugmani bosing:", reply_markup=keyboard)
@dp.callback_query_handler(lambda c: c.data == 'copy')
async def copy_callback(callback_query: types.CallbackQuery):
text_to_copy = "Bu matn nusxalanadi."
await bot.send_message(chat_id=callback_query.from_user.id, text=f"Nusxalangan matn: {text_to_copy}")
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True)
🗿 Manba: @RoyalPyUz
🤡 Dasturchi: @UzSecurity372
🌐Hech Qaysi Kanalda Tarqatilmagan Kod Manbasiz Koʻrmay @Python_700
✅Yangi Kodlar Oldinda Bizdan Harakat Sizdan 📊Aktivlik Boʻlsa Boʻldi
👉🚀 𝗠𝗔𝗡𝗕𝗔: 💻 ➪ @Python_700
🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
💻 ➪ @Python_700 ☕︎
372
import turtle as t
import colorsys
t.bgcolor("black")
t.tracer(50)
def draw():
h = 0
n = 50
t.width(2)
for i in range(300):
c = colorsys.hsv_to_rgb(h, 1, 1)
h += 1 / n
t.color(c)
t.forward(i * 1.5)
t.left(59)
t.circle(i * 0.5, 180)
t.right(120)
t.forward(i * 0.5)
draw()
t.done()
#🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
#➪ @Python_700 ☕︎
🌐Hech Qaysi Kanalda Tarqatilmagan Kod Manbasiz Koʻrmay @Python_700
✅Yangi Kodlar Oldinda Bizdan Harakat Sizdan 📊Aktivlik Boʻlsa Boʻldi
👉🚀 𝗠𝗔𝗡𝗕𝗔: 💻 ➪ @Python_700
🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
💻 ➪ @Python_700 ☕︎372
🌐Hech Qaysi Kanalda Tarqatilmagan Kod Manbasiz Koʻrmay @Python_700
✅Yangi Kodlar Oldinda Bizdan Harakat Sizdan 📊Aktivlik Boʻlsa Boʻldi
👉🚀 𝗠𝗔𝗡𝗕𝗔: 💻 ➪ @Python_700
🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
💻 ➪ @Python_700 ☕︎
372
import turtle as t
import colorsys
t.bgcolor('black')
t.speed(0)
t.tracer(10)
t.pensize(2)
def draw():
h = 0
n = 100
size = 1
for i in range(700):
c = colorsys.hsv_to_rgb(h, 1, 1)
h += 1 / n
t.color(c)
t.forward(size)
t.left(59)
t.circle(size * 0.3, 360)
size += 0.7
draw()
t.done()
#🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
#➪ @Python_700 ☕︎
🌐Hech Qaysi Kanalda Tarqatilmagan Kod Manbasiz Koʻrmay @Python_700
✅Yangi Kodlar Oldinda Bizdan Harakat Sizdan 📊Aktivlik Boʻlsa Boʻldi
👉🚀 𝗠𝗔𝗡𝗕𝗔: 💻 ➪ @Python_700
🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
💻 ➪ @Python_700 ☕︎372
Yozgan kodingizdagi xatolar sizni tajribali dasturchiga aylantiradi 😁
Manba:
👉 @ITMastersUz — IT'shniklar planetasi!
🔔 𝗞𝗮𝗻𝗮𝗹𝗴𝗮 𝗼𝗯𝘂𝗻𝗮 𝗯𝗼'𝗹𝗶𝗻𝗴!
💻 ➪ @Python_700 ☕︎
