Output:
51
Explanation : In the above program we are creating a member variable having name ‘life’ by adding it directly to the dictionary of the object ‘manager’ of class ‘Geeks’. Total numbers of items in the dictionary is 2, the variables ‘life’ and ‘id’. Therefore the size or the length of the dictionary is 2 and the variable ‘life’ is assigned a value ’49’. So the sum of the variable ‘life’ and the size of the dictionary is 49 + 2 = 51.
51
Explanation : In the above program we are creating a member variable having name ‘life’ by adding it directly to the dictionary of the object ‘manager’ of class ‘Geeks’. Total numbers of items in the dictionary is 2, the variables ‘life’ and ‘id’. Therefore the size or the length of the dictionary is 2 and the variable ‘life’ is assigned a value ’49’. So the sum of the variable ‘life’ and the size of the dictionary is 49 + 2 = 51.
Which One Do You Choose..!!😂😂
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
This media is not supported in your browser
VIEW IN TELEGRAM
20+ Years Of Experience 🤯😂
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
😁1💩1
This media is not supported in your browser
VIEW IN TELEGRAM
Me who has carbon atoms in my body since birth 👨💻😂
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
This media is not supported in your browser
VIEW IN TELEGRAM
Lost Ctrl .. There's no Esc.. Give me some SPACE👨💻😂
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts
https://programmerjokesshorts.openinapp.co/programmerjokes-shorts