Challenge 5: Size of a Dictionary Within a Dictionary

In this challenge, your task is to calculate the size of the dictionary within a dictionary.

Problem Statement​

Given a totalStudents function, your task is to calculate how many students are in the students dictionary.

Input

A nested dictionary

Output

The size of the nested dictionary

Get hands-on with 1200+ tech skills courses.