Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
help
Fill in the blanks to iterate over the dictionary and update the values to zero: index temp. { temp[ ] = 0 }
2 Answers
0
you can use "for in loop" to do this
syntax is :
for i in array {
array[i] = 0
}
try to replace it!
0
For index in temp.keys {
temp[ index ] = 0
}