GH avatar Bite 13. Convert dict to namedtuple/json

Write a function to convert the given blog dict to a namedtuple.

Write a second function to convert the resulting namedtuple to json.

Here you probably need to use 2 of the _ methods of namedtuple :)

Will you be Pythonista #74 to crack this Bite?
It takes an average of ~61 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 3.25 on a 1-10 difficulty scale.
» You can do it! 😌

Login and get coding
We use Python 3.7