# Arup Guha
# 9/10/2020
# Turtle with if, random

import turtle
import random

# Get the shape
shape = input("Do you want a circle or a square?\n")

# Will allow 3 versions of circle, all other answers are square.
if shape == "circle" or shape == "Circle" or shape == "CIRCLE":

    # Pick a random radius.
    radius = random.randint(50, 150)

    # Draw it!
    turtle.circle(radius)

# Square
else:

    # Pick a random side length
    side = random.randint(100, 300)

    # Repeat the same stuff four times.
    turtle.forward(side)
    turtle.left(90)
    turtle.forward(side)
    turtle.left(90)
    turtle.forward(side)
    turtle.left(90)
    turtle.forward(side)
    turtle.left(90)    

