diff options
| author | Paulo Custodio <pauloscustodio@gmail.com> | 2021-12-23 14:33:04 +0000 |
|---|---|---|
| committer | Paulo Custodio <pauloscustodio@gmail.com> | 2021-12-23 14:33:04 +0000 |
| commit | ce5bd2dd1a3159107febe4b9eb488a071bc601f5 (patch) | |
| tree | fe414d6bf26de2b2c6682c2b399ace41a24492cf /challenge-032/paulo-custodio/python/ch-1.py | |
| parent | 9f83fe38e24a005d07ee31c0c53582f3eefbc9e5 (diff) | |
| download | perlweeklychallenge-club-ce5bd2dd1a3159107febe4b9eb488a071bc601f5.tar.gz perlweeklychallenge-club-ce5bd2dd1a3159107febe4b9eb488a071bc601f5.tar.bz2 perlweeklychallenge-club-ce5bd2dd1a3159107febe4b9eb488a071bc601f5.zip | |
Whitespace
Diffstat (limited to 'challenge-032/paulo-custodio/python/ch-1.py')
| -rw-r--r-- | challenge-032/paulo-custodio/python/ch-1.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/challenge-032/paulo-custodio/python/ch-1.py b/challenge-032/paulo-custodio/python/ch-1.py index 2a600a8112..717d0f8ded 100644 --- a/challenge-032/paulo-custodio/python/ch-1.py +++ b/challenge-032/paulo-custodio/python/ch-1.py @@ -8,9 +8,9 @@ # Create a script that either reads standard input or one or more files # specified on the command-line. Count the number of times and then print a # summary, sorted by the count of each entry. -# +# # So with the following input in file example.txt -# +# # apple # banana # apple @@ -18,12 +18,12 @@ # cherry # apple # the script would display something like: -# +# # apple 3 # cherry 2 # banana 1 # For extra credit, add a -csv option to your script, which would generate: -# +# # apple,3 # banana,1 # cherry,2 |
