Posts

Symmetric matrices

Check whether a matrix is symmetric or not using Python.

Remove duplicate elements from lists

A neat and compact way to remove duplicate elements from lists.

Enter, semiprime numbers

We all know about primes, let’s now dig into semiprimes.

Behold, the factorial

A neat and shorthand way of expressing the factorial in Python.