On Jan 5, 6:37 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I am nes to python and need some help. Can anyone lead me in the
right direction to create and print a Point object, and then use id to
print the object's unique identifier. Translate the hexadecimal form
into decimal and confirm
Pete:
Translate the hexadecimal form
into decimal and confirm that they match.
No need to convert the IDs...
Soviut:
You shouldn't have to compare the hex IDs. Just a simple comparison
operator will work:
firstPoint = Point()
secondPoint = Point()
print(firstPoint == secondPoint)
I am nes to python and need some help. Can anyone lead me in the
right direction to create and print a Point object, and then use id to
print the object's unique identifier. Translate the hexadecimal form
into decimal and confirm that they match.
Any help woul be much appreciated.
Pete
--
http
On Sat, 05 Jan 2008 03:37:33 -0800, [EMAIL PROTECTED] wrote:
I am nes to python and need some help. Can anyone lead me in the
right direction to create and print a Point object, and then use id to
print the object's unique identifier. Translate the hexadecimal form
into decimal and confirm