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 two of the _ methods of namedtuple

Login and get coding
go back Intermediate level
Bitecoin 3X

421 out of 433 users completed this Bite.
Will you be Pythonista #422 to crack this Bite?
Resolution time: ~45 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.69 on a 1-10 difficulty scale.
» You can do it! 😌

Focus on this Bite hiding sidebars, turn on Focus Mode.
We use Python 3.8