- 3
What will be the output of the following my_dict = {} my_dict[1] = 1 my_dict['1'] = 2 my_dict[1.0] = 4 sum = 0 for k in my
Tell
3 Réponses
+ 1
Sampada Sharma
Please write your code in the description of your question (where you have wrote 'tell').
So edit it and alert us when done 🙂
0
Error will be the output , as there is a error in the for statement.
0
Sampada Sharma it is impossible for us to answer your question without seeing the whole program.
It is very easy for you to answer your own question by running the program in the Sololearn Code Playground.