A spiral of first 10k prime numbers…

A prime number is a natural number greater than 1 that is not a product of two smaller natural numbers. Euclid proved the infinity of primes by contradiction. Assume there are a finite number, n , of primes , the largest being ; Consider the number that is the product of these, plus one: By…

Continua a leggere →

How to generate and read QR Code in Python

QR code is a type of matrix barcode that is machine readable optical label which contains information about the item to which it is attached. In practice, QR codes often contain data for a locator, identifier, or tracker that points to a website or application, etc. Problem Statement : Generate and read QR codes in…

Continua a leggere →