Re: [Tutor] =Linked List Using Map

2015-04-19 Thread Alan Gauld
On 19/04/15 16:25, niyanax...@gmail.com wrote: May you take a look and let me know what needs to be changed? Thank you in advance. The node code looks OK. class Map: Read through your init method, remembering that it only gets calledv once when the Map is created. def __init__(

Re: [Tutor] =Linked List Using Map

2015-04-19 Thread niyanaxx95
Thank You Steven for your great help You really helped me to understand my assignment more as well as what maps and linked lists are. I used your guidance and came up with my full code. May you take a look and let me know what needs to be changed? Thank you in advance. class Node:

Re: [Tutor] =Linked List Using Map

2015-04-18 Thread Joel Goldstick
rant I hate when teachers ask students to do stupid stuff like this. It encourages so many bad practices it's positively dangerous! If they must have them reinvent the wheel at least let them use the native Python list to do it! /rant I suspect that the instructor is using Python as a

Re: [Tutor] =Linked List Using Map

2015-04-18 Thread Steven D'Aprano
Hello Ni'Yana, and welcome! On Fri, Apr 17, 2015 at 06:11:00PM +, niyanax...@gmail.com wrote: Hello I need guidance trying to solve my assignment. I am completely lost when using maps with linked lists. I understand linked lists though. May someone work with me? We will not do your

Re: [Tutor] =Linked List Using Map

2015-04-17 Thread Alan Gauld
On 17/04/15 19:11, niyanax...@gmail.com wrote: Hello I need guidance trying to solve my assignment. I am completely lost when using maps with linked lists. I understand linked lists though. Unfortunately we do not. Linked lists aren't really a native Python type and maps are a native type -

[Tutor] =Linked List Using Map

2015-04-17 Thread niyanaxx95
Sent from Windows Mail From: Ni'Yana Morgan Sent: ‎Friday‎, ‎April‎ ‎17‎, ‎2015 ‎2‎:‎06‎ ‎PM To: tut...@python.org Hello I need guidance trying to solve my assignment. I am completely lost when using maps with linked lists. I understand linked lists though. May someone work with