From 43ecfff0295fc06b64203611e7f024443919215c Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 6 Apr 2011 23:38:37 -0400 Subject: [PATCH] Added utf-8 header to exercise 027 --- e027.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e027.py b/e027.py index 6f1cd7f..4d4ae74 100644 --- a/e027.py +++ b/e027.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """Find the value of d < 1000 for which 1/d contains the longest recurring cycle.A unit fraction contains 1 in the numerator. The decimal representation of the unit fractions with denominators 2 to 10 are given: @@ -69,4 +70,4 @@ def main(): fraction = Decimal(1) / Decimal(i) print '1/{0} = {1} ({2})'.format(i, fraction, cycle), fraction.is_subnormal() if __name__ == '__main__': - main() \ No newline at end of file + main()