you have to put it in like this... import turtle as tur import colorsys as cs tur.setup(800,800) tur.speed(0) tur.width(2) tur.bgcolor("black") for j in range(25): for i in range(15): tur.color(cs.hsv_to_rgb(i/15, j/25,1)) tur.right(90) tur.circle(200-j*4,90) tur.left(90) tur.circle(200-j*4,90) tur.right(180) tur.circle(50,24) tur.hideturtle() tur.done()
This is how to write it to not get any error: import turtle as tur import colorsys as cs tur.setup(800,800) tur.speed(0) tur.width(2) tur.bgcolor("black") for j in range(25): for i in range(15): tur.color(cs.hsv_to_rgb(i/15, j/25,1)) tur.right(90) tur.circle(200-j*4,90) tur.left(90) tur.circle(200-j*4,90) tur.right(180) tur.circle(50,24) tur.hideturtle() tur.done()
import turtle as tur import colorsys as cs tur.setup(800,800) tur.speed(0) tur.width(2) tur.bgcolor("black") for j in range(25): for i in range(15): tur.color(cs.hsv_to_rgb(i/15, j/25,1)) tur.right(90) tur.circle(200-j*4,90) tur.left(90) tur.circle(200-j*4,90) tur.right(180) tur.circle(50,24) tur.hideturtle() tur.done()
import turtle as tur import colorsys as cs tur.setup(800,800) tur.speed(0) tur.width(2) tur.bgcolor("black") for j in range(25): for i in range(15): tur.color(cs.hsv_to_rgb(i/15, j/25,1)) tur.right(90) tur.circle(200-j*4,90) tur.left(90) tur.circle(200-j*4,90) tur.right(180) tur.circle(50,24) tur.hideturtle() tur.done()
*_Thank You Karthik Sir_* 😍 *_I Want To Become an Software Engineer._* 😇 *_I am Now Preparing For JEE/KEAM 2023 As The First Step of My Dream_* 🥰 *_Love From Kerala_* ❤
import turtle as tur import colorsys as cs tur.setup(800,800) tur.speed(3) tur.width(2) tur.bgcolor("black") for j in range(25): for i in range(15): tur.color(cs.hsv_to_rbg(i/15,j/25,1)) tur.right(90) tur.circlce(200-j*4,90) tur.left(90) tur.circle(200-j*4,90) tur.right(100) tur.circle(50,24) tur.hideturtule() tur.done()
import colorsys as cs import turtle as tur tur.setup(800, 800) tur.speed(0) tur.width(2) tur.bgcolor("black") for j in range(25): for i in range(15): tur.color(cs.hsv_to_rgb(i/15,j/25,1)) tur.right(90) tur.circle(200 - j * 4.90) tur.left(90) tur.circle(200 - j * 4.90) tur.right(180) tur.circle(50.24) tur.hideturtle() tur.done()
Thank you for shearing a great design .
Thank you Ryo, please like share and subscribe to the channel 😊
@CodingWithKarthik hey . thx for the video . is it possible to get in touch with yoy. need few drawings like this. i can pay you
you have to put it in like this...
import turtle as tur
import colorsys as cs
tur.setup(800,800)
tur.speed(0)
tur.width(2)
tur.bgcolor("black")
for j in range(25):
for i in range(15):
tur.color(cs.hsv_to_rgb(i/15, j/25,1))
tur.right(90)
tur.circle(200-j*4,90)
tur.left(90)
tur.circle(200-j*4,90)
tur.right(180)
tur.circle(50,24)
tur.hideturtle()
tur.done()
Please subscribe and click on the bell icon to get notifications. And please share it with your friends 🙂
@@CodingWithKarthik are you from india bro?
Yes
Tq❤
My view is that when it's finished truncated, what settings should be for the python turtle graphic
Please check the code, we have to call turtle done() method to avoid closing the output
This is how to write it to not get any error:
import turtle as tur
import colorsys as cs
tur.setup(800,800)
tur.speed(0)
tur.width(2)
tur.bgcolor("black")
for j in range(25):
for i in range(15):
tur.color(cs.hsv_to_rgb(i/15, j/25,1))
tur.right(90)
tur.circle(200-j*4,90)
tur.left(90)
tur.circle(200-j*4,90)
tur.right(180)
tur.circle(50,24)
tur.hideturtle()
tur.done()
Great video! greetings from Mexico
AttributeError: partially initialized module 'turtle' has no attribute 'setup' (most likely due to a circular import) how i can fix that?
import turtle as tur
import colorsys as cs
tur.setup(800,800)
tur.speed(0)
tur.width(2)
tur.bgcolor("black")
for j in range(25):
for i in range(15):
tur.color(cs.hsv_to_rgb(i/15, j/25,1))
tur.right(90)
tur.circle(200-j*4,90)
tur.left(90)
tur.circle(200-j*4,90)
tur.right(180)
tur.circle(50,24)
tur.hideturtle()
tur.done()
Please like, share and subscribe to our channel to support 👍
import turtle as tur
import colorsys as cs
tur.setup(800,800)
tur.speed(0)
tur.width(2)
tur.bgcolor("black")
for j in range(25):
for i in range(15):
tur.color(cs.hsv_to_rgb(i/15, j/25,1))
tur.right(90)
tur.circle(200-j*4,90)
tur.left(90)
tur.circle(200-j*4,90)
tur.right(180)
tur.circle(50,24)
tur.hideturtle()
tur.done()
@@SAMURAIoriginal to
@@uniquefactandstories3001 ?
from turtle import*
width(2)
speed(19)
color ('black')
for i in range(100):
forward(45)
right(14)
forward(5)
left(250)
left(100)
forward(-500)
left(-44)
left(-100)
circle(9)
forward(3)
circle(83)
forward(20)
circle(50)
forward(85)
circle(66)
forward(10)
the first time i saw it, it was amazing
Thanks for your video bro it really helpful👍
Thank you.please like share and subscribe to the channel 🙂
the import colorsys as css is not right
U using which app sir??
Hi kartik there is a one problem that the words like import as for in "," are shown in red color while coding so what should I do now
Do it in ' '
Hello sir mene pura code letha bada me run keya to koy answ nay aaya
AttributeError: module 'turtle' has no attribute 'setup'
What the programm? is there one for windows?
Yooo it's sooo cooolll broo!!!
you know coding yes
i some question
ok
you see and get reply
Sure please feel free to ask
@@CodingWithKarthik ok
Bro e lanti design mobile lo cheayalante app suggest cheayandi please
You can't do it on the mobile, it should run on a laptop or system
is there a way to limit the colorsys to a certain number of rgb values so that it only displays shades of blue?
Where r u typing the program ? It's not PYTHON IDEL
Bro i am getting indented block after for
NameError: name 'tur' is not defined
why am I wrong on the 11th line even though it's the same
Check either you used tur.circle or any spelling mistake
But bro we need the names of pip that need to install for running this program
Just install python. Turtle and colorsys are by default available
@@CodingWithKarthik ok thanks bro but i already know now 😃
Anyways thanks for reply
Can be done using mobile?
Yes i am also doing it in mobile
Bro can I know the app name to run this program
what?
Vs code
I am using vs code to run the code.you can python idle also to run it
How to run in termux
What is this app?
*_Thank You Karthik Sir_* 😍
*_I Want To Become an Software Engineer._* 😇
*_I am Now Preparing For JEE/KEAM 2023 As The First Step of My Dream_* 🥰
*_Love From Kerala_* ❤
Oho great!
Thank you
@@CodingWithKarthikSir where I can copy paste your codes
Why it's just stopped at single iteration for me?
Same bro
Same me bro
Check the for loop properly. And tur.done() should be at the end
@@CodingWithKarthik I checked everything
@@reshma_naidu7 someone commented full code and comment on this video please Check
Bro which app bro
ua-cam.com/video/wQXr5nKNevA/v-deo.html
whatt name aplikasi mr ?
Vscode
Please share and subscribe to the channel
@@CodingWithKarthik
can you help me to share the download link for windows 7, 32 bit mr? I'm looking for mostly not support on laptops
Its coming error in line 17
Please reply
I'm on the 11th line
Please cross check the code. Might be some spelling mistakes
@@CodingWithKarthik oh ok And thanks for replying :)
you have to give it the indent meaning like this
😆 pքɾօʍօʂʍ
import turtle as tur
import colorsys as css
tur.setup(800, 800)
tur.speed(0)
tur.width(2)
tur.bgcolor("black")
for j in range(15):
for i in range(15):
tur.color(css.hsv_to_rgb(i / 15, j / 25, 1))
tur.right(90)
tur.circle(200 - j * 4, 90)
tur.left(90)
tur.circle(200 - j * 4, 90)
tur.right(180)
tur.circle(50, 24)
tur.hideturtle()
tur.done()
import turtle as tur
import colorsys as cs
tur.setup(800,800)
tur.speed(3)
tur.width(2)
tur.bgcolor("black")
for j in range(25):
for i in range(15):
tur.color(cs.hsv_to_rbg(i/15,j/25,1))
tur.right(90)
tur.circlce(200-j*4,90)
tur.left(90)
tur.circle(200-j*4,90)
tur.right(100)
tur.circle(50,24)
tur.hideturtule()
tur.done()
F
import colorsys as cs
import turtle as tur
tur.setup(800, 800)
tur.speed(0)
tur.width(2)
tur.bgcolor("black")
for j in range(25):
for i in range(15):
tur.color(cs.hsv_to_rgb(i/15,j/25,1))
tur.right(90)
tur.circle(200 - j * 4.90)
tur.left(90)
tur.circle(200 - j * 4.90)
tur.right(180)
tur.circle(50.24)
tur.hideturtle()
tur.done()