def program_version_greater(ver1, ver2):
 v1f = version_to_float(ver1)
 v2f = version_to_float(ver2)
 return (v1f > v2f)

def program_version_greater ( ver1 , ver2 ) : v1f = version_to_float ( ver1 ) v2f = version_to_float ( ver2 ) return ( v1f > v2f )
return true if ver1 > ver2 using semantics of comparing version numbers .