<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello, <br><br>I have this exercise :<br><br>Create and print a <tt class="docutils literal"><span class="pre">Point</span></tt> object, and then use <tt class="docutils literal"><span class="pre">id</span></tt> to print the
object’s unique identifier. Translate the hexadecimal form into decimal and
confirm that they match.<br><br>So I thought that this would solve it:<br><br>class Point:<br>&nbsp;&nbsp;&nbsp; def __init__(self, x=0, y=0):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.x = x<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.y = y<br><br><br>P=(Point)<br>a=0 <br>b=0<br>a=id(P)<br>print a <br>print b<br>print P<br><br>But now id is a decimal so I don't can't translate it.<br>Did I something wrong ?<br><br>Roelof<br><br>                                               </body>
</html>