Skip to main content

Posts

Showing posts with the label google

How to Draw Google Drive Logo - In Python

 Google drive is a great application of google to store your data(files, images, notes, etc). In this post, we will see how we can draw google drive using python. So let's drive into the code without wasting any time Code: import turtle as t t . hideturtle () # blue part t . begin_fill () t . fillcolor ( '#4688F4' ) t . forward ( 170 ) t . left ( 60 ) t . forward ( 50 ) t . left ( 120 ) t . forward ( 220 ) t . left ( 120 ) t . forward ( 50 ) t . end_fill () # green part t . begin_fill () t . fillcolor ( '#1FA463' ) t . left ( 120 ) t . forward ( 200 ) t . left ( 120 ) t . forward ( 50 ) t . left ( 60 ) t . forward ( 150 ) t . left ( 60 ) t . forward ( 50 ) t . end_fill () t . penup () t . left ( 120 ) t . forward ( 200 ) t . left ( 120 ) t . forward ( 50 ) t . pendown () # yellow part t . begin_fill () t . fillcolor ( '#FFD04B' ) t . left ( 125 ) t . forward ( 160 ) t . left ( 55 ) t . forward ( 53 ) t . left ( 126 ) t . forward ( 163 ) t . end_fill () t

Draw google assistant in python | google assistant in python

Google assistant is widely used ai assistant in this time so let's draw it with python. If you want then I can also make a google assistant in python and give you a tutorial let me know in the comment section Code: import turtle as t t . hideturtle () t . begin_fill () t . fillcolor ( "blue" ) t . circle ( 80 ) t . end_fill () t . penup () t . goto ( 150 , 0 ) t . pendown () t . begin_fill () t . fillcolor ( "red" ) t . circle ( 40 ) t . end_fill () t . penup () t . goto ( 150 ,- 120 ) t . pendown () t . begin_fill () t . fillcolor ( "yellow" ) t . circle ( 50 ) t . end_fill () t . penup () t . goto ( 205 , 95 ) t . pendown () t . begin_fill () t . fillcolor ( "green" ) t . circle ( 20 ) t . end_fill () t . penup () t . goto (- 100 ,- 200 ) t . pendown () FONTSIZE = 25 FONT = ( 'Arial' , FONTSIZE , 'normal' ) t . write ( 'Google Assistant' , font = FONT ) t . done () Output: Follow my socials: Youtube: https://www