I am currently working on a project called Peer Feedback, where we are trying to build a nice peer feedback system for college students. We use Canvas Learning Management System (CanvasLMS) API as the data source for our application. All data about the students, courses, assignments, submissions are all fetched from CanvasLMS. The application is…… Continue reading Sensible Test Data
When you have to check for the presence of a value in a list and set a flag based on it, we can avoid typical: set default => check => update routine in Python and condense it to a single line like this.
Extended Assignment Operators – we use them all the time as shorthands for assigning values. Lets see how this works when using multiple identifiers (variables) in terms of simple data like a number. Pitfall Let us apply a similar set of operations on list Takeaway Now the question is, why does the value of a…… Continue reading Python – Extended Assignment Operator and Lists
Problem Statement A class has N number of students. When the students submit an assignment, they are assigned K peers to review their assignments and provide feedback such that 0 < K = N Example: Input: N=3, K=1 Output: Input: N=3, K=2 Solution Notes The problem is an interesting one. I started out with the…… Continue reading Peer Pairing Algorithm
I have been working on the problems in Codility to get better at the algorithms and also to expand the way I solve problems in general. One common thing I notice with using Python as the language is that, sometimes the solutions are so simple I wonder if I learnt anything at all. Take for…… Continue reading Simplistic Algorithms with Python