For the past couple of weeks I have been working on improving on my programming skills and have been working on practice questions on the various websites that post them. I found one site, Practice Python, which has 36 practice problems that a coder can work on to improve his skills. Having attempted to correctly code the 36 practice projects, I thought it would be a good idea to review the website for other individuals who are interested in working on improving their coding skills with a view to entering coding competitions. The link for Practice Python can be found here:- Practice Python
Practice Python has 36 questions and provides the solution for 35 of them. The last question was posted on 2 April 2017, being question number 36. The last solution was posted on 19 March 2017, which related to question 35. The solutions were not by the person who made the website, but by people who had submitted their solutions. I could ostensibly submit a solution to question 36 if I want to, and I just might do that and see if it gets published. I’m not sure exactly why the author of the website stopped posting questions, but some of them were quite worthwhile.
The 36 questions and 35 solutions can be seen on the screenshot below:-
I had a go at coding the solutions for all 36 questions, but the questions I had difficulty with were the game, Tic Tac Toe, and the web scraping exercises, which I intend to study further to perfect my skills. Web scraping is data scraping that is used for extracting data from websites. I would like to learn now to webscrape properly, using several techniques, because this is a skill that is quite in demand on freelancing websites, such as Fiverr.
When I encountered the practice problems, I was able to solve most of them by using the logic that I learned in programming classes I took over three decades ago. I was able to provide flowcharts and psuedocode for some of the programs, which is a skill I learned when I took my first computer course in the late 1980’s.
The last four questions related to working with dictionaries and converting the data into a dictionary into a json file. This was the first time I had come across any json file, and it was good for me to learn something new in the area of Python programming.
JSON is a file format that was developed in the early 2000’s as a standard for how web servers would pass data back and forth. JSON provides a way to store dictionary-like data in a file on a disk. Because JSON is in a standard format, it can be used to write JSON in one language and read JSON from another language to pass information between two programs or applications.
I have saved the code for the solutions to the 36 questions asked in my personal GitHub account, which can be found in this link:- Games/Practice_Python.ipynb at main · TracyRenee61/Games (github.com)