Sum of episode lengths

Challenge
No

Write a program to show average episode length. Show the number of episodes as well.

Paste this into your code. Use it without any changes:

  • episodes = [
  •     {
  •         'Episode number': 1,
  •         'Title': "Nobody Listens to Paula Poundstone",
  •         'Length': 51.37
  •     },
  •     {
  •         'Episode number': 2,
  •         'Title': 'Maintaining friendships',
  •         'Length': 50.75
  •     },
  •     {
  •         'Episode number': 3,
  •         'title': 'Audiologist Michele Sherman talks ears',
  •         'Length': 48.9
  •     },
  •     {
  •         'Episode number': 4,
  •         'Title': 'The Survivalist!',
  •         'Length': 53.22
  •     }
  • ]

Here's what the output should be.

  • Number of episodes: 4
  • Average length: 51.06 minutes

Use a for loop.

Upload a zip of your project folder. The usual coding standards apply.

Where referenced