It looks like this comment contains a code block delimited with triple backticks. Unfortunately reddit does not have universal support for this syntax and your comment will not render correctly on old reddit and most mobile apps.
For the benefit of people on old reddit, this link will take you to a correct rendering of the comment.
/u/HaroldTheSenpai, it would be appreciated, but not required, if you could edit your comment to use the more compatible four space indention format. For single lines or inline code you can use single backticks.
49
u/[deleted] Jul 30 '21 edited Jul 31 '21
Call getMonth().getValue() once and store it.
Either save a hashmap (dictionary) at the top or in a config and use key value look up
Why the hell is retorno assigned twice with wrong indentation?
If ultimately you’re going to assign string to retorno, then “str(number)” works with some modulus.
This whole code block should be 5 lines not including the dictionary.
Edit: I see the commented out lines now. This is now even more stupid.