I really am confused on this python coding assignment? Any help please.?

Attachment image

2 Answers

Relevance
  • Anonymous
    6 months ago

    This is a dead easy assignment and you're making it more complicated than it is. There is no reason to make nickels, dimes, or quarters in the init... the ONLY thing asked of you is to put in a __str__() function in the coin class

    __str__() will compare the coin's value and THEN return a string "nickel" if the value is 5.

    • ...Show all comments
    • 6 months agoReport

      Submission: the py file of your source code for your version of the coin class and a screenshot of your working coin class.

    • Login to reply the answers
  • Chris
    Lv 7
    6 months ago

    Do you people never check the questions after posting them? This has to be the one millionth blurry screenshot posted here.

    • ...Show all comments
    • 6 months agoReport

      If he disabled font blurring (also called anti-aliasing) it'd be easier to read... but it isn't that bad.

    • Login to reply the answers
Still have questions? Get your answers by asking now.