@@ -149,6 +149,24 @@ The objects returned from dict.keys(), dict.values(), and dict.items() are calle
...
@@ -149,6 +149,24 @@ The objects returned from dict.keys(), dict.values(), and dict.items() are calle
They provide a dynamic view on the dictionary’s entries, which means that when the dictionary changes,
They provide a dynamic view on the dictionary’s entries, which means that when the dictionary changes,
the view reflects these changes. To force the dictionary view to become a full list use list(dictview).
the view reflects these changes. To force the dictionary view to become a full list use list(dictview).
Python range() function:
-------------------------
The range() function is used to generate a sequence of numbers over time. At its simplest, it accepts an integer and returns a range object (a type of iterable).