<div>Hi,</div>
<div> </div>
<div>I'm just learning the very basics of python and I ran into this problem in version 3.0/3000:</div>
<div> </div>
<div>>>>x = input("x: ")<br>x: 36<br>>>> y = input("y: ")<br>y: 42<br>>>> print (x*y)<br>Traceback (most recent call last):<br> File "<pyshell#3>", line 1, in <module><br>
print (x*y)<br>TypeError: can't multiply sequence by non-int of type 'str'</div>
<div> </div>
<div>But when I run the same code with Python 2.6.1 it does prints the result.</div>
<div> </div>
<div>Is there any special function that I should add in order to work properly under Python 3.0?</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Paulo Repreza</div>