Assignment 1 (due 1/22 at 11:59 PM) from Project Euler (

advertisement
Assignment 1 (due 1/22 at 11:59 PM)
Set up your virtual machine or install Python and write a small Python program to solve problem 6
from Project Euler (https://projecteuler.net/problem=6).
Have your program print the result to stdout. You must also check your code with pylint and receive
at least a 9/10 rating before submission.
Submit sum_squares.py through Blackboard with your name and FSUID in the module docstring. Feel
free to use any Python construct we have covered thus far. You are encouraged to structure your
Python code with functions. You will, however, receive 0 points if you hardcode the solution in your
file.
Here is an example execution:
$ python sum_squares.py
25164150
$ pylint sum_squares.py
No config file found, using default configuration
Report
======
14 statements analysed.
...
Global evaluation
----------------Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
...
Download