We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My first submission used if __name__ in "__main__": as I was used to another system where that was a requirement in solution files or the test didn't run. The third line with the print was over 110 characters.
Once I realized my line 1 wasn't required I got it down to two lines. Then I refined it further and renamed numbers to nums so second line would be less than 80 characters total.
Any or All
You are viewing a single comment's thread. Return to all comments →
My first submission used
if __name__ in "__main__":
as I was used to another system where that was a requirement in solution files or the test didn't run. The third line with the print was over 110 characters.Once I realized my line 1 wasn't required I got it down to two lines. Then I refined it further and renamed numbers to nums so second line would be less than 80 characters total.