Posts Tagged ‘’

Python: Smallest Multiple

Python: Smallest multiple
Problem 5 @ projecteuler
Completed on: Thu, 4 Jul 2019, 22:30

Here I am quoting form ProjectEuler site:”

2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?”

So to solve this simple task all we need to loop through numbers and divide it by a list of (1,20) if yes return True otherwise return False and got to another number.
and so we done..

The Code:

codes here

Follow me on Twitter..

My Sketchbook

November 8, 2016 Leave a comment

I am sketching to enhance my skill, here is one of sketches from my sketchbook using pencil as a guide-line and ink-pen to finish the drawing.

Click to Enlarge

Sketch of: horse head
Using: Ink-Pen
Date: 30.9.2015
SketchBook: SketchBook # 5
More Sketches: Click Here

Follow me on Twitter..



New Section to to Blog

I create a new section under Menu> Pages and I call it My Sketches I am posting some of my sketches using the Sketchbook apps, I am using this app on my iPhone, iPad and on my Galaxy Tab, on my iPhone and because of the screen protection cover I can’t use the pen to draw so I am using my finger; very difficult to draw.

Here are Two of my Sketches… [Click to Enlarge]


Follow me on Twitter..