python
598 subscribers
23 photos
3 videos
69 files
21 links
channel interested in programming languages such as Python
the creator : @DuDrD
Download Telegram
قَالَ رسولُ الله ﷺ : إنَّ مِنْ أفْضَلِ أيَّامِكُمْ يَومَ الجُمُعَةِ ، فَأكْثِرُوا عَلَيَّ مِنَ الصَّلاةِ فِيهِ ، فَإنَّ صَلاَتَكُمْ مَعْرُوضَةٌ عَلَيَّ.
3
import math
from turtle import *
def hearta(k):
return 15*math.sin(k)**3
def heartb(k):
return 12*math.cos(k)-5*\
math.cos(2*k)-\
math.cos(3*k)-\
math.cos(4*k)
speed(0)
bgcolor('black')
for i in range (10000):
goto(hearta(i)*20,heartb(i)*20)
for j in range(5):
color("#f73487")
goto(0,0)
done()


كود رسم قلب
- @SeyedAliShakeriii
id.txt
10.5 MB
كود بيه اكثر من 300 ألف ايدي
ماعرف شنو تستفادون منه بس هوا مفيد مادري شلون
تعلمو شباب
4👍1
ها شباب
4
import telebot
bot = telebot.TeleBot("Token")
@bot.message_handler(func=lambda message: True)
def logo(message):
logo = f"https://bcassetcdn.com/asset/logo/4b4b23e4-f3d3-42b1-9c5d-615ac62ef5ac/logo?v=4&text={message.text}"
bot.send_photo(message.chat.id, logo)
bot.infinity_polling()

بوت يصنعلك لوقو بالاسم التدزه .
import telebot
bot = telebot.TeleBot("Token")
@bot.message_handler(func=lambda message: message.text.isdigit())
def num(message):
num = int(message.text)
rel = ""
for i in range(1, 11):
rel += f"{num} × {i} = {num*i}\n"
bot.reply_to(message, rel)

@bot.message_handler(func=lambda message: not message.text.isdigit())
def unnum(message):
bot.reply_to(message, "اكتب بس رقم .")
bot.infinity_polling()

بوت بس تدزله رقم يدزلك جدوله الضرب
👍2👎1
شباب افكار اكو؟
👍1
🤯1
🤯1
ترجمةة.py
875 B
Ar 🇮🇶
كود بوت ترجمة الى 5 لغات الي هي
الانكليزية ، الفرنسية ، العربية ، الصينية ، التركية
من تدزله كلمة راح يدزلك معناها بهذة اللغات بدون Api بـ مكتبة ( googletrans )
-
En 🇬🇧
Code bot translated into 5 languages
English, French, Arabic, Chinese, Turkish
Whoever enters a word, it will provide you with its meaning in these languages without the API using the ( googletrans ) .

@iq_python - @DuDrD
👍1
import telebot
from telebot import types
#@iq_python - @DuDrD
bot = telebot.TeleBot("Token")
#@iq_python - @DuDrD
@bot.message_handler(commands=['start'])
def start(message):
list = [
{"name": "python", "url": "https://t.me/iq_python"},
{"name": "أذكار", "url": "https://t.me/Y5Y1Y"}
]
bttn = types.InlineKeyboardMarkup()
for btns in list:
n = btns["name"]
u = btns["url"]
btn = types.InlineKeyboardButton(n, url=u)
bttn.add(btn)


bot.reply_to(message, "أهلاً حبيبي اضغط على الزر اليعجبك .", reply_markup=bttn)

bot.infinity_polling()


بوت يصنعلك ازرار لا نهائية من داخل قائمة تحتوي على الاسماء والروابط وبس
تكدر تسوي زر جديد بهطريقة
{"name" : "اسم الزر", "url" : "رابط الزر"}
بعدها تضيف ( , ) اذا تريد تسوي زر ثاني بهشكل
{"name" : "اسم الزر", "url" : "رابط الزر"},
{"name" : "بايثون", "url" : "https://t.me/iq_python"}
@iq_python - @DuDrD
افكار حلوة اكو !
This media is not supported in your browser
VIEW IN TELEGRAM
python
Sticker
ما باقي شي .