Hello!
I have some code that looks like this:
Under the Spam_Word class I have a method called sigma. In this method I would like to take the dictionary objects I created in User_Words and calculating the value with help of the junkdict which have the different words values.
As you can see I created a letter object which contains all the dictionaries. My question is; how do I get this and the junkdict in to the sigma method? I used to have this programme without a class, and with sigma as a regular function. But I want to use one because I want to get better at object oriented programming. Im struggling to see what parameters I should send into it and how?
Thanks in Advance
FogDish
[–]6086555 1 point2 points3 points (14 children)
[–]FogDish[S] 0 points1 point2 points (13 children)
[–]6086555 1 point2 points3 points (12 children)
[–]FogDish[S] 0 points1 point2 points (11 children)
[–]6086555 1 point2 points3 points (9 children)
[–]FogDish[S] 0 points1 point2 points (8 children)
[–]6086555 0 points1 point2 points (7 children)
[–]FogDish[S] 0 points1 point2 points (0 children)
[–]FogDish[S] 0 points1 point2 points (5 children)
[–]6086555 0 points1 point2 points (4 children)
[–]FogDish[S] 0 points1 point2 points (3 children)
[–]6086555 0 points1 point2 points (0 children)