<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Dictionaries
Dictionaries are a very useful data structure. They are similar to lists, but instead
of being indexed by integeres they are indexed by keys which can be of any type as long 
as they are immutable.  In a dictionary the keys are used to access values. 
A typical example would be the following
Step1:  In this example the keys are strings (corresponding to names) and the values are numbers.
We can acess now the values
Step2:  Adding a new element in the dictionary is very simple
Step3:  deleting an item is also easy to do
Step4:  It is possible to gather all the keys
Step5:  and also gather all the values
Step6:  It is also easy to test whether a key (or value) is in the dictionary
Step7:  Exercise 3.01
Create a dictionary with the integers 0 to 4 as keys and the vowels (a, e, i, o u) as values.
Exercise 3.02
Use the following dictionary of dictionaries to create a new dictionary that has the same keys and the values correspond to the total number of hours used in all activities.
<ASSISTANT_TASK:>
Python Code:
d = {'Angela':  23746, 'Sofia': 2514, 'Luis': 3747, 'Diego': 61562}
Explanation: Dictionaries
Dictionaries are a very useful data structure. They are similar to lists, but instead
of being indexed by integeres they are indexed by keys which can be of any type as long 
as they are immutable.  In a dictionary the keys are used to access values. 
A typical example would be the following:
End of explanation
d['Angela']
d['Diego']
d['Luis']
d['Sofia']
Explanation: In this example the keys are strings (corresponding to names) and the values are numbers.
We can acess now the values:
End of explanation
d['Valeriano'] = 1234
print(d)
Explanation: Adding a new element in the dictionary is very simple
End of explanation
d.pop('Angela')
print(d)
Explanation: deleting an item is also easy to do
End of explanation
list(d.keys())
Explanation: It is possible to gather all the keys
End of explanation
list(d.values())
Explanation: and also gather all the values
End of explanation
'Miguel' in d.keys()
'Luis' in d.keys()
Explanation: It is also easy to test whether a key (or value) is in the dictionary
End of explanation
activities = {
    'Monday': {'study':4, 'sleep':8, 'party':0},
    'Tuesday': {'study':8, 'sleep':4, 'party':0},
    'Wednesday': {'study':8, 'sleep':4, 'party':0},
    'Thursday': {'study':4, 'sleep':4, 'party':4},
    'Friday': {'study':1, 'sleep':4, 'party':8},
}
Explanation: Exercise 3.01
Create a dictionary with the integers 0 to 4 as keys and the vowels (a, e, i, o u) as values.
Exercise 3.02
Use the following dictionary of dictionaries to create a new dictionary that has the same keys and the values correspond to the total number of hours used in all activities.
End of explanation
<END_TASK>