import React from 'react' const Header = ({course}) =>
{part.name} {part.exercises}
total of {parts.reduce((p, c) => p + c.exercises, 0)} exercises