import random

def draw_house(x, y, w, h):
	red = 0
	blue = 0
	green = random.randint(0, 256)

	fill(red, green, blue)
	rect(x, y, w, h)
	triangle(x, y, x + w / 2, y - h / 2, x + w, y)

def setup():
	# our code
	size(500, 500)
	background(50, 100, 4) #r, g, b

def draw():
	# called CONTINUOUSLY!!!!!
	if mousePressed:
		draw_house(mouseX, 
					mouseY, 
					random.randint(30, 50), 
					random.randint(30, 50))

	if keyPressed and key == ' ':
		setup()
f658a430eb63e9476285a3cad48c6a605b867155
<mask token>


def setup():
    size(500, 500)
    background(50, 100, 4)


<mask token>

<mask token>


def draw_house(x, y, w, h):
    red = 0
    blue = 0
    green = random.randint(0, 256)
    fill(red, green, blue)
    rect(x, y, w, h)
    triangle(x, y, x + w / 2, y - h / 2, x + w, y)


def setup():
    size(500, 500)
    background(50, 100, 4)


<mask token>

<mask token>


def draw_house(x, y, w, h):
    red = 0
    blue = 0
    green = random.randint(0, 256)
    fill(red, green, blue)
    rect(x, y, w, h)
    triangle(x, y, x + w / 2, y - h / 2, x + w, y)


def setup():
    size(500, 500)
    background(50, 100, 4)


def draw():
    if mousePressed:
        draw_house(mouseX, mouseY, random.randint(30, 50), random.randint(
            30, 50))
    if keyPressed and key == ' ':
        setup()

import random


def draw_house(x, y, w, h):
    red = 0
    blue = 0
    green = random.randint(0, 256)
    fill(red, green, blue)
    rect(x, y, w, h)
    triangle(x, y, x + w / 2, y - h / 2, x + w, y)


def setup():
    size(500, 500)
    background(50, 100, 4)


def draw():
    if mousePressed:
        draw_house(mouseX, mouseY, random.randint(30, 50), random.randint(
            30, 50))
    if keyPressed and key == ' ':
        setup()

import random

def draw_house(x, y, w, h):
	red = 0
	blue = 0
	green = random.randint(0, 256)

	fill(red, green, blue)
	rect(x, y, w, h)
	triangle(x, y, x + w / 2, y - h / 2, x + w, y)

def setup():
	# our code
	size(500, 500)
	background(50, 100, 4) #r, g, b

def draw():
	# called CONTINUOUSLY!!!!!
	if mousePressed:
		draw_house(mouseX, 
					mouseY, 
					random.randint(30, 50), 
					random.randint(30, 50))

	if keyPressed and key == ' ':
		setup()