# EVALUATION

## THEORY: 6

3 * 2 points

## PYTHON: 26

### GENERAL PYTHON: 4

* Use of __main__: 2
* General *Pythonic* style, code cleanness, etc.: 2

### FILES: 10

* Either use of `open`/`close` OR use of `with` in input file: 2
* Either use of `open`/`close` OR use of `with` in output file: 2
* Correct use of Try/Catch: 2
* Catching of the correct exception (OSError or IOError): 1
* Correct loop over lines/words: 3

### ALGORITHM: 10

* Correct solution calculation of Armstrong's values and correct comparison: 10

OR (if not correct, max 8)

* Correct handling digits as char or int: 2
* Loop over "digits" for number <= 9999: 2
* Loop over "digits" for any number: 2
* Use of ** for power: 2

### OUTPUT: 2

* Output only and all Armstrong's number (ie. `write` in the right position in the loop, etc): 2
