La Boina Roja

The struggles off a future RHCE….

My own Python challenge

Leave a comment

Earlier this morning while working on my math, I had to calculate the LCM (Least Common Multiple) and I was thinking I should write a Python script for it. Just for fun. Yeah “fun” I probably am  going insane null

There is no need to point out the math module in Python,  which probably has a function called LCM.

So I typed what I know right now:

cliccie for larger piccie

cliccie for larger piccie

While advancing in Python, I will improve this script null (I know that I’ve written a loop and that I should make it stop after the first hit, otherwise it will go on forever null)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s