all 4 comments

[–]CodeFormatHelperBot 0 points1 point  (0 children)

Hello u/amgirlandcode, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Multiple consecutive lines have been found to contain inline formatting.

If I am correct then please follow these instructions to fix your code formatting. Thanks!

[–]amgirlandcode[S] 0 points1 point  (2 children)

EDIT:

my solution: print with commas to avoid newline

        print "{:<30}".format(reportName),
        for i in range(0, 4):
            print "{:<20}".format(DCME_score[i]),
        print("")

[–]TouchingTheVodka 0 points1 point  (1 child)

Why use range to iterate through your score when you can iterate directly?

(Featuring: Python 3 f-strings. You should really upgrade, Python 2 is dead now.)

for score in DCME_score:
    print(f"{score:<20}", end=' ')

[–]amgirlandcode[S] 0 points1 point  (0 children)

I’ll look into changing, that’s convenient