Badjedidude
Well-known member
Well, I'm a bit of a computer geek and at some point in the past I managed to learn the programming language known as QBasic....and this was back in the day when QBasic was decently relevant and useable in the scope of modern computing. It still has its uses, sure....but I don't see anyone writing network managing scripts or front ends/GUIs in QBasic.
So I recently decided to learn a new programming language. It's been a while for me, and I'm rusty, so it's almost like I'm starting fresh. I do have a basic understanding of coding, though....so it's easier than starting blind. At any rate, here's a new simple program I wrote in Python. It's text only and all it does is convert centimeters to inches...but it's a start.
As a major project, I plan on writing a basic conversion application, perhaps even using graphics and such. Woot. Anyway, this counts as a success for me:
print "Enter a length in centimeters to get an equivalent length in inches."
centimeter = input("Length (cm): ")
toinches = .3937007874
print "Inches:", centimeter * toinches
----Steve
So I recently decided to learn a new programming language. It's been a while for me, and I'm rusty, so it's almost like I'm starting fresh. I do have a basic understanding of coding, though....so it's easier than starting blind. At any rate, here's a new simple program I wrote in Python. It's text only and all it does is convert centimeters to inches...but it's a start.
As a major project, I plan on writing a basic conversion application, perhaps even using graphics and such. Woot. Anyway, this counts as a success for me:
print "Enter a length in centimeters to get an equivalent length in inches."
centimeter = input("Length (cm): ")
toinches = .3937007874
print "Inches:", centimeter * toinches
----Steve