Sunday, October 2, 2016

Python language introduce part 2 (When we know the command)

Python lessons part 2 
  In this lessons we want to explain a few command in python first
let me show you:
1.print
   print command is used to show the text we fill in it, the code will be like this
 print "Write this"
   and the output will be
Write this
 2. raw_input
     this command is used to ask the user to write something in the program, the code will be like this

a = raw_input ("Write your name: ")
     the output will be
 Write your name: 
     after the user write something in it and enter it the answer of user will be transfered to a variable
You can show the stored answer of user with this code
 print "My name is",a
Il make you an easier program first with python like this
 
a = raw_input ("Write your name: ")
b = raw_input("Write yor age: ")
c = raw_input("Write your last school")
print "Your name is",a,", You",b,"years old, Your last school is",c


Thanks for reading my articles, Study Hard for a Nice Tommorow
I will add more articles soon
 

Wednesday, June 29, 2016

python language introduce part one[variable]

gython language is like many other languages that high language programming language
that's mean computer is'nt read what you see, they just see

0000111010101110000011010010001000000000111110001000000111110000000010111

But, why python can readed by computer, they have compiler, this compiler convert the high language to machine language

 There is some different python file (.py)and excecutable file (.exe):
  1. .Py: changeable
    .exe: unchangeable
  2. .Py: must have python extensions to open it
    .exe: can open in any windows
I will update it when I have find it

Now a little lesson <variable>

Python variable
[ when choose a variable, make sure you can remember it ]
it's easy to learn, there is my example (variable) :

1. Low Variable (if you can remember it use it [but I did'nt suggest this])
2. High Value Variable (I suggest you use this)
3. Very Low Variable ( I'm very did'nt suggest you using these, because its confuse)
4. This is tips for python variable

   I. don't use number in front of variable
    II. don't use python language to variable
   III. don't use math operation to variable
        like: *, **, +, -, /, =, ==

That's for now, I will update more to help you
we will dive to python

in future session, I can make a video tutorial again in my youtube channel, but now if you look my youtube channel, its just have a few tutorial video

but if you wan't check it, its here :
https://www.youtube.com/channel/UChfiL4EqpdOdOEgSwjpioRQ

first day python lessons


Tutorial Python
First Thing if you wanna jump to python programming
You will install their program first
There are the program you need  :
  1. Python 
  2. When you arrive at python webpage, you will meet two new python version
    • Python 2.7 (we gonna use it in my lessons)
    • Python 3.4 (you look for other web)
    as you read above we gonna use the python 2.7, so download the file first from there: Python download page
     
  1. Text Editor (I'm use notepad ++)
    In the real, if you are a programmer, you need text editor for editing, save project
    we will try it, so download it from here:
    Notepad++ download page
There will be more you download, but in small size, there are converter(py to exe), and other I will update this blog weekly, so don't late to check it
This is just the first tutorial, in the next tutorial i will tell you more


My slogan is : Don't look the code of your program
but look your programming result





You can visit my youtube to watch my tutorial video
Don't forget to comment, like and subscribe