Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Convert '165.0' to int
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="SigmundV, post: 4231376"] I would like to thank Steven for his enlightening (at least for me) post. In the OP's case I'd keep everything as lists initially. If speed then is an issue other constructs can be considered. The use of map in the example only reflects my inherently mathematical way of thinking. Generally, I'd say 1) write code that works, i.e. does what it's intended to do in all cases, and 2) if speed is an issue, try to sort out the main culprits. Coding style is a different issue altogether, but in general I'd say that one should use self-explanatory variable names. Sigmund [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Convert '165.0' to int
Top