Python 3.1.1 (r311:74483, Aug 17 2009, 17:02:12) [MSC v.1500 32 bit (Intel)] on win32<br>Type "copyright", "credits" or "license()" for more information.<br>>>> print 'hello'<br>
SyntaxError: invalid syntax (<pyshell#0>, line 1)<br>>>> print ('hello')<br>hello<br>>>> <br><br>the above print is what i came across having installed python 3.0 and trying to run the print command.<br>
with previous versions, a print command takes the form<br>print 'parameter'<br>and the output is<br>parameter<br><br>but with this new version it seems you need to put in brackets like:<br>print ('hello')<br>
to get an output like:<br>
hello<br><br>please confirm this is a new syntax for print.<br>thank you.<br><br>i will put up morte concerns as they arrive.<br><br>thanks.<br>-- <br>Elegbede Muhammed Oladipupo<br>OCA<br>+2348077682428<br>+2347042171716<br>
<a href="http://www.dudupay.com">www.dudupay.com</a><br>Mobile Banking Solutions | Transaction Processing | Enterprise Application Development<br>