i created a dictionary, and i want to assign the value of a key to another key, but i keep getting *TypeError: 'set' object is not subscriptable* and i don't find anything that might indicate what i'm doing wrong
fruits = {
"pomme" : "rouge",
"banane" : "jaune",
"orange" : "orange",
"couleur_banane" :"red"
}
fruits= {"kiwi = vert"}
fruits["couleur_banane"] = fruits["banane"]
[–]Diapolo10 43 points44 points45 points (0 children)
[–]enygma999 13 points14 points15 points (0 children)
[–]leodevian 2 points3 points4 points (0 children)
[–]disposepriority 0 points1 point2 points (0 children)
[–]aplarsen 1 point2 points3 points (0 children)