vrijdag 25 januari 2013

Python - The basics + math

Python - basics and math

Basics

I assume that you have seen my videos, and else this would be also nice to read.
If you want python to write something down for you you should enter the command print first, after that you will have to use quotes that are these things "" u make them with the button shift and the button above shift wich looks like the quotes. 
When you are done with that you can write between the quotes and the text that you write there is the text that python would remember and display.
like this:


Math

For the math you need to know the math operators you have:
+ plus, - minus, / devide, * multiply.
but with multiply is something special if you want to multiply something like this: 5 * 5 * 5 then you can write it down as 
5 ** 3.
if you make a sum you can also use floats or ints a float u use for numbers with a comma, and ints are nummers without a comma.
there are also str these are for text like this:
this is how you write it down if you want to use a float of int or str.
first the variablename then the = then the action (float, str or int) and after thet again the variable between hooks.

if you liked this dont forget to subscribe my youtube channel:
http://www.youtube.com/user/JGMprogramming

Introduction to my blog

Python tutorials

Welcome to my blog, on this blog i will post tutorials on the programming language python.
I think python is an amazing programming language to start your skill.
And i hope you keep following me on youtube aswell, on youtube i will also make tutorials for python, and if you dont exactly get what i mean on youtube.
I will go further on on the subject on this blog.

If you would all like to check out my youtube just go to:

http://www.youtube.com/user/JGMprogramming

and i have a friend who is pretty good at building pc's if you need any help with that go to:

http://www.youtube.com/user/TheArchshield

He is pretty good at building pc's and he knows alot about the parts too.