Popular posts from this blog
Google logo using Turtle in Python
Google logo using Turtle in Python Input (Code) :- import turtle as g g . bgcolor ( "black" ) g . color ( 'Royal Blue' ) g . pensize ( 5 ) g . speed ( 5 ) ## first circle {red color} g . forward ( 120 ) g . right ( 90 ) g . circle ( - 150 , 50 ) g . color ( 'dark green' ) g . circle ( - 150 , 100 ) g . color ( 'orange' ) g . circle ( - 150 , 60 ) g . color ( 'red' ) g . begin_fill () g . circle ( - 150 , 100 ) g . right ( 90 ) g . forward ( 50 ) g . right ( 90 ) g . circle ( 100 , 100 ) g . right ( 90 ) g . forward ( 50 ) g . end_fill () g . begin_fill () ## second circle {yellow color} g . color ( "orange" ) g . right ( 180 ) g . forward ( 50 ) g . right ( 90 ) g . circle ( 100 , 60 ) g . right ( 90 ) g . forward ( 50 ) g . right ( 90 ) g . circle ( - 150 , 60 ) g . end_fill () # third circle {green color} g . right ( 90 ) g . forward ( 50 ) g . right ( 90 ) g . circle ( 100 , 60 ) g . color ( 'dark green'...
Windows Logo using Turtle in Python
Windows logo using Turtle in Python Input (Code) :- import turtle as w w . hideturtle () w . speed ( 1 ) w . bgcolor ( 'black' ) w . penup () w . goto ( - 50 , 60 ) w . pendown () w . color ( 'blue' ) w . begin_fill () w . goto ( 100 , 100 ) w . goto ( 100 , - 100 ) #Draw windows w . goto ( - 50 , - 60 ) w . goto ( - 50 , 60 ) w . end_fill () w . color ( 'black' ) w . goto ( 15 , 100 ) #cut 2 equal parts w . color ( 'black' ) w . width ( 10 ) w . goto ( 15 , - 100 ) w . penup () w . goto ( 100 , 0 ) w . pendown () w . goto ( - 100 , 0 ) w . goto ( 30 , - 180 ) w . color ( "blue" ) w . write ( "Windows" , font = ( "cooper" , 50 , "bold" ), align = "center" ) w . done () Output :- Watch this Short for result :- https://youtube.com/shorts/Lh1gTz5nFfM?feature=share
Comments