Medical Insurance Portfolio Project

Hi there,

I am trying to finish the “Medical Insurance Portfolio Project”. I am trying to build a method within a class to find out about the insurance charges of smokers vs non-smokers, using a dictionary to collect together the smokers/non-smokers charges. Has anybody attempted this? I am bit stuck. Any advice appreciated.


What have you tried so far? This would be the kind of problem where there’s multiple different ways to perform the same task so it’d be better to boil down your query to something you’ve tried or it risks being a bit too vague.

What’s the basis for your class? Have you tried building the same dictionary in a standard function? Porting things to a class once you’ve got that step may be easier if it’s causing you grief.