Jump to content
Sign in to follow this  


Recommended Posts

Hi, in the attached pic the print(a) works as does print a

Should you always put () around in this instance and why.


Share this post

Link to post

Alan, I know very little about Python, but I do know that "print" requires parentheses in Python 3.x.

Since you assert it works both ways in your environment, I'd surmise you're running Python 2.x.

Based on that, if you use print with parentheses, your "print()" routines should work in both Python 2.x and 3.x environments.

If you're only going to work in Python 2.x then you can use whichever form you like.



Share this post

Link to post


Yes this free app is 2.7. When I get back home on computer will use the latest 3.x.

Can anyone recommend any free app for an iPad? Or maybe I even one I can buy for learning on the move?


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...