Charming Python .... I have to say, I think I have a lot of leg up from having learned and knowing maxscript, because the first few lessons about syntax were a breeze.
They (codecadamy.com) teach about variables (basically any word) and how they can hold certain values like strings & integers and floats, all of which I already know about through maxscript. YAY.
This is not to say you should learn maxscript before learning Python, just that having experience with any coding or programming language makes it easier to learn another. Also, small headsup, I was informed that codecademy uses python 2.7 which is slightly different in syntax than 3.x which is becoming the norm.
For those of you that don't know any, I am going to explain some of the mentioned terms a little bit.
As I said in the initial post, I hope to make this journey together with you.
Who knows, maybe I can get one of you interesting in programming as well.
A variable, as said, can be anything you desire, it's something you can put a value into for later use.
my_variable = "stringvalue" which is a variable holding a value of a stringtype my_name = 'eqko' would be an example of var = "string"
Basically, strings are any length of text that will actualy be used as text.
For instance, "eqko" is a string. Strings are surrounded in Python (and most other languages I've seen so far as well) by either single ' ' or double " " quotes.
Integers are whole numbers.
Some examples: 1, 15, 1613, 987364
'Floats' are also numbers, but are distinguished from integers by being written as decimal point number
Some examples of floats: 1.0, 15.2, 1613.1456, 987364.0001254
I didn't know, but apparently, the difference is that integers were a lot easier for computers to calculate as opposed to floating point numbers
Above is basic syntax, not necessarily limited to Python only. It's common programming knowledge and you should come across them in many languages.
So, to sum it up, you've got variables, strings, integers and floating point numbers, just to name a few things you'll come across when learning to program.
Full STEEM ahead my fellow Steemians - @eqko
Me and my fellow blockbrothers are a witness as @blockbrothers. If you want to support us we would appreciate your vote here. Or you could choose to set us as your proxy.
Vote for @blockbrothers via SteemConnect
Set blockbrothers as your proxy via SteemConnect
As blockbrothers, we build Steemify, a notification app for your Steemit account for iOS.
Get it Here: