- 1
Can u help interpret this program
dict_student = { } count = 1 for i in range(10): name = input("enter name ") dict_student.update({'r1801'+str(count): name}) count *=10
2 Réponses
+ 3
It is updating the dictionary with following key valur pair
{r18011:name1}
{r180110: name2}
{r1801100: name3}
+ 1
Ok anx u