Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dictionary in Python
#3
I still have n't the answer for my original question. Can someone help answer it?

My question is Why new_dict is changed when I assign current[1]={}, ideally it has to hold an empty dictionary which was assigned originally from 'current'
Reply


Messages In This Thread
Dictionary in Python - by kartheek - Dec-03-2019, 10:45 AM
RE: Dictionary in Python - by DeaD_EyE - Dec-03-2019, 12:58 PM
RE: Dictionary in Python - by kartheek - Dec-07-2019, 12:29 PM
RE: Dictionary in Python - by snippsat - Dec-07-2019, 01:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert List of Dictionary to dictionary of dictionary list in python kk230689 2 49,804 Apr-27-2019, 03:13 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020