iiitv / ChefLib

CodeChef Rated Contest Solutions
https://iiitv.github.io/ChefLib/
62 stars 62 forks source link

CHEFSUM (SEPT17) [Python] #243

Closed PiyushPawar17 closed 6 years ago

PiyushPawar17 commented 6 years ago

Fixes #242

aashutoshrathi commented 6 years ago

Hi! Thanks for contributing to this repository. Make sure you have checked points in PR correctly.

aashutoshrathi commented 6 years ago

Comment on 1a013878e2856204dcc0c7fb75a36a85eb98160b, file 2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.py, line 8.

The code does not comply to PEP8.

Origin: PEP8Bear, Section: pep8.

The issue can be fixed by applying the following patch:

--- a/tmp/tmp7f6c138u/2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.py
+++ b/tmp/tmp7f6c138u/2017/SEPT/SEPT17/CHEFSUM/CHEFSUM.py
@@ -6,5 +6,6 @@
         arr = list(map(int, input().split()))
         print(arr.index(min(arr)) + 1)

+
 if __name__ == '__main__':
     main()