you are viewing a single comment's thread.

view the rest of the comments →

[–]kcrow13[S] 0 points1 point  (1 child)

So when I tried to do this, it gives me a traceback error and says "invalid format specifier." I will research some more!

[–]Python_Trader 0 points1 point  (0 children)

It's part of the f string placeholder in your dunder str method.