Login and get codingWrite a function to convert the given blog dict to a
namedtuple
.Write a second function to convert the resulting
namedtuple
tojson
.Here you probably need to use 2 of the
_
methods ofnamedtuple
:)
372 out of 382 users completed this Bite.
Will you be Pythonista #373 to crack this Bite?
Resolution time: ~46 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.69 on a 1-10 difficulty scale.
» You can do it! 😌