Share your repls and programming experiences

← Back to all posts
Draw with commands
AyushMoghe (0)

Made a python program with turtle and a little idea of msw logo software. Following output you will get and when it prompts for entering command then only enter:

Welcome to sketch n draw
select your color 1 and 2
color 1: red
color 2: blue
Welcome to sketch n draw
select your color 1 and 2
color 1: red
color 2: blue
ok! your colors are red and blue
changed pad's color according to the requirments
So now you can proceed to draw
enter command: For()
enter the distance: 40
enter command: dir;dig
enter command: dir;dig()
enter degrees: 90
enter direction: left
enter command: For()
enter the distance: 40
enter command: 40
enter command: dir;dig()
enter degrees: 90
enter direction: left
enter command: For()
enter the distance: 40
enter command: dir;dig()
enter degrees: 90
enter direction: left
enter command: For()
enter the distance: 40
enter command: