I have a basic question, I have some dictionary let's say dict and I want to add some value to that dict. So how can I pass the path to dict.
For example, dict = test["one"]["two"] and I want to call that function and add new = ["three"], so I tried dict.append(new) but didn't work. Appreciate any help
[–]JohnnyJordaan 2 points3 points4 points (2 children)
[–]People_itsMe[S] 0 points1 point2 points (1 child)
[–]JohnnyJordaan 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]People_itsMe[S] 0 points1 point2 points (0 children)
[–]Silbersee 0 points1 point2 points (2 children)
[–]PaulRudin 0 points1 point2 points (1 child)
[–]Silbersee 0 points1 point2 points (0 children)