for i in range(10):
    print(i + 1)
    i = i + 2

###
    
for num in range(10, 0, -1):
    print(num)

###
   
result = ""
for num in range(10, 14):
    result = result + str(num) + "-"
print(result)

###

def isPrime(x):
    if x < 2:
        return False
    for factor in range(2, x):
        if x % factor == 0: # is actually a factor
            return False
    return True

###

import tkinter

def drawGrid(canvas, gridSize):
    for row in range(gridSize):
        top = row * 50
        bottom = top + 50
        for col in range(gridSize):
            left = col * 50
            right = left + 50
            canvas.create_rectangle(left, top, right, bottom)

def runDrawGrid():
    root = tkinter.Tk()
    canvas = tkinter.Canvas(root, width=400, height=400)
    canvas.configure(bd=0, highlightthickness=0)
    canvas.pack()
    
    drawGrid(canvas, 7) # your call here!
    
    root.mainloop()

runDrawGrid()
