#coding=utf-8
#画一个正方体
'''
1、先画两个变长为100的正方形
2、再将八个顶点用四条边连接起来
'''
import turtle
turtle.goto(100,0)
turtle.goto(100,100)
turtle.goto(0,100)
turtle.goto(0,0)
turtle.penup()
turtle.goto(50,50)
turtle.pendown()
turtle.goto(-50,50)
turtle.goto(-50,-50)
turtle.goto(50,-50)
turtle.goto(50,50)
turtle.goto(100,100)
turtle.penup()
turtle.goto(-50,50)
turtle.pendown()
turtle.goto(0,100)
turtle.penup()
turtle.goto(-50,-50)
turtle.pendown()
turtle.goto(0,0)
turtle.penup()
turtle.goto(50,-50)
turtle.pendown()
turtle.goto(100,0)
turtle.done()