Python program to store the gratest of two no.s in Database