Re: [Tutor] collections and mappings

2019-06-21 Thread Steven D'Aprano
On Fri, Jun 21, 2019 at 10:01:43AM +1000, mhysnm1...@gmail.com wrote: > I have reviewed the collection module and do not understand mappings. I have > seen this in other languages and have never got the concept. Can someone > explain this at a very high level. It might help if you remember that

Re: [Tutor] collections and mappings

2019-06-21 Thread Alan Gauld via Tutor
On 21/06/2019 11:39, mhysnm1...@gmail.com wrote: > I think I understand, but that type of maths I have not touched in 40 years. The real point is that in Python terms a mapping is nearly always just another name for a dictionary. Either a set of key/value pairs or a set of key/function pairs. Ve

Re: [Tutor] collections and mappings

2019-06-21 Thread mhysnm1964
will help my program that I am struggling with. -Original Message- From: Tutor On Behalf Of Alan Gauld via Tutor Sent: Friday, 21 June 2019 6:11 PM To: tutor@python.org Subject: Re: [Tutor] collections and mappings On 21/06/2019 01:01, mhysnm1...@gmail.com wrote: > I have reviewed

Re: [Tutor] collections and mappings

2019-06-21 Thread Alan Gauld via Tutor
On 21/06/2019 01:01, mhysnm1...@gmail.com wrote: > I have reviewed the collection module and do not understand mappings. I have > seen this in other languages and have never got the concept. Can someone > explain this at a very high level. OK. You are a master of the open ended question so I'm

[Tutor] collections and mappings

2019-06-21 Thread mhysnm1964
All, I have reviewed the collection module and do not understand mappings. I have seen this in other languages and have never got the concept. Can someone explain this at a very high level. ___ Tutor maillist - Tutor@python.org To unsubs