zeroed out

2018-12-11 Thread Avi Gross
Joe, All numbers start with zero, and even an infinite number of them! LOL! All kidding aside, I note that some data that is stored in a fixed width has zeroes padding it all the way to the right. If you store the number 3 in binary as a byte, it tends to look like 0011. Depending on how in

Re: How to test for type or instance of dict_values?

2018-12-11 Thread fabian . becker87
Very late to the party, but I just encountered a very similar problem and found a solution: ``` import collections obj = {"foo": "bar"} isinstance(obj.values(), collections.abc.ValuesView) # => True ``` Hope that helps someone out there :) On Thursday, November 17, 2016 at 9:09:23 AM UTC-8, Te

Re: 03 digression by brute force

2018-12-11 Thread Joe Pfeiffer
"Avi Gross" writes: > SYNOPSIS: One way to solve math puzzle by brute force. (message sent earlier > disappeared) > > > > Quick note. Jack started by asking why python does not like decimal > numbers with leading zeroes. When asked to explain, he said he was > trying to solve word problems usi

Re: 03 digression by brute force

2018-12-11 Thread MRAB
On 2018-12-12 02:06, Avi Gross wrote: [snip] My main point though is that a leading zero can appear including in bank account numbers, social security numbers and so on. But I accept that historically python is as it is. As I mentioned, some functions like int() can deal with them. Bank accou

[RELEASE] Python 3.7.2rc1 and 3.6.8rc1 now available for testing

2018-12-11 Thread Ned Deily
https://blog.python.org/2018/12/python-372rc1-and-368rc1-now-available.html Python 3.7.2rc1 and 3.6.8rc1 are now available. 3.7.2rc1 is the release preview of the next maintenance release of Python 3.7, the latest feature release of Python. 3.6.8rc1 is the release preview of the next and last mai

03 digression by brute force

2018-12-11 Thread Avi Gross
SYNOPSIS: One way to solve math puzzle by brute force. (message sent earlier disappeared) Quick note. Jack started by asking why python does not like decimal numbers with leading zeroes. When asked to explain, he said he was trying to solve word problems using python. Someone mentioned probl

Re:

2018-12-11 Thread Bob Gailer
On Dec 11, 2018 3:05 PM, "Alperen Eroğlu" <33alperen200...@gmail.com> wrote: > > I subscribed to python list and now I want to state my requeat.I downloaded > Python because I wanted to learn how to code.I also downloaded a text > editor specially designed for coding Python(which iscalled Pycharm)

[no subject]

2018-12-11 Thread Alperen Eroğlu
I subscribed to python list and now I want to state my requeat.I downloaded Python because I wanted to learn how to code.I also downloaded a text editor specially designed for coding Python(which iscalled Pycharm) .both of the softwares and my Windows 10 software was he latest.I got into Python and