Its not running
import math
import os
cls = os.system("cls")
title = os.system("title Pythagorean Theorum Solver")
def MainLoop():
cls
print "Enter 3 coordinate plane points (x - y) format"
print ""
firstPair = input("--> ")
SecondPair = input("--> ")
MathPart()
def MathPart():
'''structure of the formula:
squareRoot of --> (x-y)^2 + (x-y)^2
'''
g = (FirstPair ** 2) + (SecondPair ** 2)
answer = float(math.sqrt(g))
print "Your Answer is ", `answer`, "."
raw_input()
MainLoop()