Re: [Tutor] Fraction Class HELP ME PLEASE!

2015-08-07 Thread Cameron Simpson
On 07Aug2015 03:09, Quiles, Stephanie wrote: Hello again Cameron, Thank you, your reply is most helpful. Responses and updated code below. Thoughts would be appreciated. The assignment has been sent as my deadline was 11pm EST. But i was able to implement your suggestions and tips right before

Re: [Tutor] Fraction Class HELP ME PLEASE!

2015-08-06 Thread Quiles, Stephanie
Hello again Cameron, Thank you, your reply is most helpful. Responses and updated code below. Thoughts would be appreciated. The assignment has been sent as my deadline was 11pm EST. But i was able to implement your suggestions and tips right before i submitted. responses are below and here is

Re: [Tutor] Fraction Class HELP ME PLEASE!

2015-08-06 Thread Quiles, Stephanie
thanks Cameron! Here is what i have so far… new question… how do i test the iadd, imul, etc. operators? Hopefully this time the indents show up. And yes the beginning code came out of our text book I added on some functions myself but they give you a big chunk of it. I am hoping that this is wha

Re: [Tutor] Fraction Class HELP ME PLEASE!

2015-08-06 Thread Cameron Simpson
On 06Aug2015 23:50, Quiles, Stephanie wrote: thanks Cameron! Here is what i have so far… new question… how do i test the iadd, imul, etc. operators? Like the others, by firing them. You test __add__ by running an add between two expressions: F1 + F2 You test __iadd__ by running the augmen

Re: [Tutor] Fraction Class HELP ME PLEASE!

2015-08-06 Thread Cameron Simpson
On 06Aug2015 16:55, Quiles, Stephanie wrote: I need to do the following assignment. I need to know how do i hard code an example for each of the operators I am implementing? What i have so far is below? He said he does not care if we plug in some numbers or if we have user input numbers, howev

[Tutor] Fraction Class HELP ME PLEASE!

2015-08-06 Thread Quiles, Stephanie
Hello All, I need to do the following assignment. I need to know how do i hard code an example for each of the operators I am implementing? What i have so far is below? He said he does not care if we plug in some numbers or if we have user input numbers, however I am unsure of how to write a pr