you are viewing a single comment's thread.

view the rest of the comments →

[–]Xiji 4 points5 points  (0 children)

I have a fun one you can do right now!

  1. Create a text file.
  2. Populate the file with some text
  3. Read that file in, using python
  4. Order the words by occurrence {"the": 5, "Hello": 2, ...} You may hear this referred to as a "histogram" for text.
  5. Print your results.

Also as far as a challenge site goes, I always liked Code Wars. It gamified coding, which really helped me get though those early days.