File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"metadata" : {
3
3
"name" : " " ,
4
- "signature" : " sha256:57da39b42fe7452dcc70302cd9a783c3a0c4c707ecf5977e607f1ed08f3b755f "
4
+ "signature" : " sha256:40f96dd4a9a68767b80bf16809c2b3aebd08f6893eb2d01994fd18e611864f26 "
5
5
},
6
6
"nbformat" : 3 ,
7
7
"nbformat_minor" : 0 ,
392
392
"metadata" : {},
393
393
"outputs" : []
394
394
},
395
+ {
396
+ "cell_type" : " markdown" ,
397
+ "metadata" : {},
398
+ "source" : [
399
+ " It's also possible to loop through the keys and values of a dictionary using the items method.\n " ,
400
+ " Let's loop through the words dictionary and see how this works:"
401
+ ]
402
+ },
403
+ {
404
+ "cell_type" : " code" ,
405
+ "collapsed" : false ,
406
+ "input" : [
407
+ " for key, value in words.items():\n " ,
408
+ " print(key, value)"
409
+ ],
410
+ "language" : " python" ,
411
+ "metadata" : {},
412
+ "outputs" : []
413
+ },
395
414
{
396
415
"cell_type" : " markdown" ,
397
416
"metadata" : {},
You can’t perform that action at this time.
0 commit comments