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