Draw Google Photos in python 😲 |

Опубликовано: 29 Март 2026
на канале: DeepCantCode
1,247
30

I use Turtle to draw this logo thanks for watching this video the code is in my discription
code:-
def google_pho():
import turtle as t
root=t.Turtle()
#t.speed(0)
for x in range(1,5):
if x==1:
co="#D92E13"
elif x==2:
co="#4165BE"
elif x==3:
co="#03921C"
elif x==4:
co="#F6BB09"
t.bgcolor("black")
root.color(co)
root.begin_fill()
for i in range(400):
if i==200:
root.right(90)
root.forward(130)
root.penup()
root.backward(130)
root.right(90)
root.pendown()
break
else:
root.right(0.90)
root.forward(1)
root.end_fill()
root.color("skyblue")
root.begin_fill()
root.forward(130)
root.right(90)
t.done()


THANK YOU
FOR WATCHING
PLEASE SUBSCRIBE SO CAN MAKE MORE THIS KIND OF VIDEOS

#shorts #python #software #pydroid3 #programing
#newtechcode