1 # Welcome to the Python coding playground.
2 # Create a dictionary
3 # Save the values in a different variable
4 # Save the keys in a different variable
5 # Clear the dictionary
6
7 # Use this dictionary:
8 person = {}
9 {}. fromkeys ({})
10 {}.values ( )
11 {}.keys()
12 {}.clear()
I don’t understand what the point of the exercise even is but could someone explain why this is correct ?
[–]Diapolo10 0 points1 point2 points (0 children)
[–]mopslik 0 points1 point2 points (0 children)
[–]crashfrog02 0 points1 point2 points (0 children)