diff --git a/python/COMMENTS.md b/python/COMMENTS.md index 1bcf1e0..6846d26 100644 --- a/python/COMMENTS.md +++ b/python/COMMENTS.md @@ -2,11 +2,7 @@ This page represents all my comments from my solutions currently hosted on [Exercism.io](https://exercism.io/). You can view my profile [here](https://exercism.io/profiles/Xevion). The reason for this is simply to have a place where I can collect my comments, as well as just have some fun with Python and webscraping. Exercise file and exercise submission links will be provided for each and every exercise. -<<<<<<< HEAD -This file is for the **Python** track, contains **48** submissions, **18** of which have comments. This file was built on **24-07-2019** at **04:03:49 UTC**. -======= -This file is for the **Python** track, contains **47** submissions, **17** of which have comments. This file was built on **23-07-2019** at **23:47:58 UTC**. ->>>>>>> refs/remotes/origin/master +This file is for the **Python** track, contains **48** submissions, **18** of which have comments. This file was built on **24-07-2019** at **04:10:14 UTC**. ## Word Count @@ -237,15 +233,12 @@ I forgot that a couple things could be omitted, and decided to trim the nouns so -<<<<<<< HEAD ## Grep [Link to File](./grep/grep.py) | [Link to Submission](https://exercism.io/tracks/python/exercises/grep/solutions/c5d464b7392248d6adaab310e49803f5) I liked this exercise honestly. I learned about some new modules and methods, for example, while trying to create the invert flag, I was looking into how to negate the matching function, and the `functools` module allows one to create a wrapper that can negate any function you pass through it. -======= ->>>>>>> refs/remotes/origin/master ## Tournament [Link to File](./tournament/tournament.py) | [Link to Submission](https://exercism.io/tracks/python/exercises/tournament/solutions/6617ee41fac443be992d3090e650a16e) diff --git a/python/grep/grep.py b/python/grep/grep.py index fd4827c..63f8473 100644 --- a/python/grep/grep.py +++ b/python/grep/grep.py @@ -1,4 +1,3 @@ -<<<<<<< HEAD from functools import partial all_flags = ['n', 'l', 'i', 'v', 'x', 'm'] # m for multiple files diff --git a/track_comments.py b/track_comments.py index 69bf7d0..85f2b8e 100644 --- a/track_comments.py +++ b/track_comments.py @@ -82,11 +82,6 @@ for track in tracks.keys(): file.write(markdown) print('Wrote {} KiB file for {} track'.format(round(os.path.getsize(path) / 1024, 2), track)) t2 = time.time() -<<<<<<< HEAD # Sorry for this ridiculously long line. ;-; print('Downloaded {} MiB in webpages.\nDownloaded & parsed in {} seconds with {}ms on average request time.'.format(round(sum([i[1] for i in request_timings]) / (1024 ** 2), 2), round(t2 - t1, 2), round((sum(i[0] for i in request_timings) / len(request_timings)) * 1000, 2))) -======= -# Sorry for this ridiculously long line. ;-; -print('Downloaded {} MiB in webpages.\nDownloaded & Parsed in {} seconds with {}ms on average request time.'.format(round(sum([i[1] for i in request_timings]) / (1024 ** 2), 2), round(t2 - t1, 2), round((sum(i[0] for i in request_timings) / len(request_timings)) * 1000, 2))) ->>>>>>> refs/remotes/origin/master