"""
Ch9Q1
Draw 2 on a graphpaper

"""


import matplotlib.pyplot as plt

def draw2(a,b):
    x = [0,1,4,9,10,7,4,0,10]
    y = [6,8,10,8,6,4,3,0,0]
    xx =[]
    yy=[]
    for i in x:
        xx.append(i+a)
    for i in y:
        yy.append(i+b)
    
    plt.plot(xx,yy,"g-")
    plt.title("Number 2")
    plt.xlabel("X")
    plt.ylabel("y")
    plt.xlim([0,200])
    plt.ylim([0,200])

draw2(10,10)

