I wonder if there's a more efficient way of implementing decimal to #binary conversion in #python
Without recursion, it's ok, but there will be variable assignments operations, which seems to me as something not so efficient, comparing with recursion...
@tshirtman@diazona humm interesting. I hope I'm not abusing from your good will but, would you mind to elaborate a bit more, or even send some article for reference? I got curious with the "arbitrarily large numbers". Tks.
@desertplains https://docs.python.org/3/library/stdtypes.html#typesnumeric says "Integers have unlimited precision" which is to mean it can use as much memory as needed to store bigger values (until your operating system refuses to give more memory to your process). it's not like the C int type, for example, which will have minimum and maximum possible values. @diazona
we had a great time with a record amount of sprinters, open space attendees AND i gave my first talk! I can't wait for next year! #python#openscience#opensource
Hey, do you want to vote in the upcoming @ThePSF elections? Don't forget to affirm your intention to vote (please check your email, including spam). Deadline: June 25th 2024. Not a member yet? Check how you can become a voting member here: https://buff.ly/3X2cLhL#Python
When programming a function to check if something is allowed, is it a better pattern to start with a True variable and negate it or start with a False variable and confirm it?
🎤 Ready to take your public speaking skills to the next level? PyCon AU has your back!
Whether you're a Student, Educator, Graduate, or Professional, we want YOU! We're seeking talks from first-time or seasoned speakers, and we have a fantastic mentoring program to help your proposal shine.
Read more about it here: pycon.org.au/program/#mentors-and-feedback