diff options
| author | Walt Mankowski <waltman@pobox.com> | 2020-08-26 20:58:43 -0400 |
|---|---|---|
| committer | Walt Mankowski <waltman@pobox.com> | 2020-08-26 20:58:43 -0400 |
| commit | 4c7aa6d402ab4dbf985cbf9e2271ee9d7a2df6f5 (patch) | |
| tree | ad8c016665b34bc458ae51c0e4e7796c552f02a0 /challenge-075/walt-mankowski/python/ch-2.py | |
| parent | 000fc96aced80bc918100ff92372400197e619da (diff) | |
| download | perlweeklychallenge-club-4c7aa6d402ab4dbf985cbf9e2271ee9d7a2df6f5.tar.gz perlweeklychallenge-club-4c7aa6d402ab4dbf985cbf9e2271ee9d7a2df6f5.tar.bz2 perlweeklychallenge-club-4c7aa6d402ab4dbf985cbf9e2271ee9d7a2df6f5.zip | |
fixed typo and got output to match the perl version
Diffstat (limited to 'challenge-075/walt-mankowski/python/ch-2.py')
| -rw-r--r-- | challenge-075/walt-mankowski/python/ch-2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-075/walt-mankowski/python/ch-2.py b/challenge-075/walt-mankowski/python/ch-2.py index fb8d13b9c3..af82ba5642 100644 --- a/challenge-075/walt-mankowski/python/ch-2.py +++ b/challenge-075/walt-mankowski/python/ch-2.py @@ -45,5 +45,5 @@ for height in range(1, rows+1): best_height = height best_width = width -print(f'The best rectangle is {best_height} x {best_width} for an aea of {best_area}.') +print(f'The best rectangle is {best_height} x {best_width} for an area of {best_area}') |
