Bot yaratishga qiziqadiganlar bor ekan ertadan yangi botlar yaratish uchun yangi kanal oz ish foalyatini boshlaydi
Php kodlar kanalini ochaman kongillilar comment yozilar
Khamidov ๐ฝPython
Php kodlar kanalini ochaman kongillilar comment yozilar
Bot yaratishga qiziqadiganlar bor ekan yangi botlar yaratish uchun yangi kanal oz ish foalyatini boshlaydi
Khamidov ๐ฝPython
https://t.me/UzCoderTeam/1093
Dostla iltimos @Mr_developer616 ga bosvorila tezroq
Khamidov ๐ฝPython
https://t.me/UzCoderTeam/1093
Konkurs hozir ishga tushadi yordam berasila
Forwarded from WeWantYou
Please open Telegram to view this post
VIEW IN TELEGRAM
Khamidov ๐ฝPython
๐ฑ-martga sozg'a yutasila omadโ๐ผ
from turtle import *
import colorsys
bgcolor("black")
tracer(2)
h = 0
goto(150, 300)
speed(100)
for i in range(700):
h += 0.985 # Ranglar o'zgaradi uchun
c = colorsys.hsv_to_rgb(h, 1, 1)
color(c)
begin_fill()
circle(-50, 60)
forward(10 - i * 0.1)
left(50)
end_fill()
done()
for s in range(1, 11):
print(f"{s}:")
print("\nQo'shish:")
for i in range(1, 11):
print(f"{s} + {i} = {s + i}")
print(f"{s} / {i} = {s / i}")
print("\n-----------------------")
print("\nAyirish:")
for i in range(1, 11):
print(f"{s} - {i} = {s - i}")
print(f"{s} / {i} = {s / i}")
print("\n-----------------------")
print("\nKo'paytirish:")
for i in range(1, 11):
print(f"{s} * {i} = {s * i}")
print(f"{s} / {i} = {s / i}")
print("\n-----------------------")
print("\nBo'lish:")
for i in range(1, 11):
if i != 0: # nolga bo'lishni to'xtatish
print(f"{s} / {i} = {s / i}")
print("\n-----------------------")
print(f"{s} + {s} = {s + s}")
print(f"{s} - {s} = {s - s}")
print(f"{s} x {s} = {s * s}")
print(f"{s} / {s} = {s / s}")
print("--------------------")
print("-" * 30)
import numpy as np
def evaluate_arithmetic_table():
print("Arifmetik amallar jadvali:")
print("{:<10} {:<10} {:<10} {:<10}".format('Raqam 1', 'Amal', 'Raqam 2', 'Natija'))
print("-" * 40)
for num1 in range(1, 1001):
for operator in ['+', '-', '*', '/']:
for num2 in range(1, 11):
expression = f"{num1} {operator} {num2}"
try:
result = eval(expression)
print("{:<10} {:<10} {:<10} {:<10}".format(num1, operator, num2, result))
except (SyntaxError, NameError, ZeroDivisionError):
print("{:<10} {:<10} {:<10} {:<10}".format(num1, operator, num2, "Xato"))
if num1 < 1001:
print("-" * 35)
if __name__ == "__main__":
evaluate_arithmetic_table()
print("-" * 40)
This media is not supported in your browser
VIEW IN TELEGRAM
from turtle import *
import colorsys
tracer (20)
pensize (2)
h = 0.2
bgcolor("black")
lt(80)
fd(180)
lt(180)
lt(80)
for i in range (330) :
c=colorsys.hsv_to_rgb(h,1,1)
color(c)
h+=0.004
fd(i)
rt(50)
rt(40)
fd(500)
rt(120)
done()
This media is not supported in your browser
VIEW IN TELEGRAM
Shu vidyodan foydalangan holda pythonga aloqadar qilshga harakat qildim
Kanalimiz linki: ๐๐๐https://t.me/Python_BIM
import turtle
ben = turtle.Turtle()
turtle.bgcolor("black")
ben.width(3)
ben.color("red")
ben.begin_fill()
ben.left(48)
ben.fd(200)
ben.circle(90, 200)
ben.left(50)
ben.circle(-90, -200)
ben.fd(-200)
ben.end_fill()
ben.color("white")
ben.write("8-Mart ", move=False,
align="center", font=("Arial", 50, "bold"))
turtle.done()
This media is not supported in your browser
VIEW IN TELEGRAM
from turtle import*
import colorsys
bgcolor ('black')
tracer (1000)
def draw():
h = 0
for i in range(10000):
c = colorsys.hsv_to_rgb(h,1,1)
h +=0.13
up()
goto(0,0)
down()
color('black')
fillcolor (c)
begin_fill()
rt(98)
circle(i, 12)
fd (290)
fd(i)
lt (29)
for j in range(129):
fd(i)
circle(j,299,steps=2)
end_fill()
draw()
done()