For the addition of comments in python you just simply need to put a # sign before you comment on something, be aware that this comment will not affect on the code!
Mes: agosto 2016
Creating/Calling functions
For the creationf/calling of a function, you need first to call it by writing «def» in the beginning of the sentence, and «:» at the end, like this: def name(): Now you have to give the function a purpouse: def name(): example («Functions») print(example) After all this, you need to close the sentence with the… Continúa leyendo Creating/Calling functions
Input = Putin (Illuminati)
When you have an Input in a code, is just like if the code is asking you for something, and you’ll have to introduce it. Just as easy as this: age = input(«What’s your age? «) //There you’ll have to give an answer like your age After it, you can use the input in… Continúa leyendo Input = Putin (Illuminati)
Outprint(«Print pugs»)
One of the most bacis topics for this course, is «#print», one of the easiest also. To achieve this, you only to write down on your code something like: print(«x») And then just run it. Just like in the image below:
Atom, Python and pugs
Finally could make use of #Atom with #Python *insert cool emoji*
Coding ‘n’ chilling
On my way to #Python with #Pugs