# Message from Python discussions

November 2018

— Looks like it.

From swampy.TurtleWorld import *

from math import pi

def polygon(t, length, n):

degrees = 360.0/n;

for i in range(n/2):

fd(t, length)

rt(t, degrees)

def circle(t, r):

lt(t)

circumference = pi*r

n = int(round(circumference))

polygon(t, 1, n)

lt(t)

world = TurtleWorld()

bob = Turtle()

bob.delay = 0.001

while True:

a = int(raw_input("Enter the radius"))

circle(bob,a)

— I want to draw half circles multiple times

— ```

—

from swampy.TurtleWorld import *

from math import pi

def polygon(t, length, n):

degrees = 360.0/n;

for i in range(n/2):

fd(t, length)

rt(t, degrees)

def circle(t, r):

lt(t)

circumference = pi*r

n = int(round(circumference))

polygon(t, 1, n)

lt(t)

world = TurtleWorld()

bob = Turtle()

bob.delay = 0.001

while True:

a = int(raw_input("Enter the radius"))

circle(bob,a)

— Https://hastebin.com/omozuqurad.py

— I want the turtle to draw half circles multiple times with the given radius. The code works but if you make it draw few times it starts to go upwards.

— I want to keep him straight

— Can we fatch data from link? Example :- Lets take video from fb or youtube and i need to download it with different quality. So my question is python can fatch detail and show us different video quality ?

— Yes.

— Can you provide little information about it or any google source? I used urllib but i fail..

— Here's an example for doing the YouTube part: https://github.com/nficano/pytube