Here is my practice Dojo for translating some standard books python codes into R codes.