So, here is a snippet of my code:
return "a Parallelogram with side lengths {} and {}, and interior angle
{}".format(str(self.base), str(self.side), str(self.theta))
It goes beyond the 80 chars for good styling in a line, so I did this:
return "a Parallelogram with side lengths {} and {}, and interior angle\
{}".format(str(self.base), str(self.side), str(self.theta))
I added the "\" to break up the string, but then there is this huge blank gap when I print it.
How would you split the code without distorting it?
Thanks!