Computer Learning

All About Computer And Technology

  • Home
  • Python Programming
    • How To Find Maximum And Minimum Value On Python Programming Language
    • Creating Tuple, List, and Dictionary on Python Programming Language
    • Learning about Input value using Python easily
    • Creating Function on Python Programming Language
    • Read More >>
  • Komputer
    • Program Execution (Organization and Architecture Computer)
    • Microcontroller of Von Neumann vs Havard and CISC vs RISC
    • Definition and Function of Control Unit
  • Blog Tutorial
    • How to Make Table of Content with Sroll in Blogspot
    • How to make Claim or Get Verification Our Blogs to Alexa
  • Tips dan Trik
    • How To Solve Red Cross In Blackberry
    • How to Restore Deleted File in Smartphone Memory Using Recuva
    • Selengkanya >>
  • Contact Me
Home » Python Programming Language » Learning about Bases of Python Programming Language for Newbie

Learning about Bases of Python Programming Language for Newbie

Joni
Add Comment
Python Programming Language
Saturday, July 19, 2014


Hi Brother and Sister ?
I’m sorry that I don’t have written again after long time ago, because of many activities in campus so that I rarely write some writing. OK at my writing today, I will share material about Python Programming Language. Actually the logic of each programming language is almost exact, only the process of writing is different. Maybe each programming language has each characteristic itself. But their point almost same, the most important that I have to suggest to you is how we use our logic to solve problems.


Before we learn about Python programming language, we need to have the application or compiler of Python. Do you have it my friends?

If you don’t have it, please download HERE.

Need to know that there are many versions of Python application, they are version 2.5, version 2.7, version 3.1, version 3.3 and so on. There is some differ between Python with version less than 3 and Python with version more than 3. Just be enjoy my friends, the different is not much. Don’t be worry to learn Python programming language, it is not difficult if we are serious to learn. I will describe some different between them later. The important thing is we learn about that continuely, it certain becomes fun. :)


Oh ya, has the software be downloaded and installed on your computer? If it has, let’s open the software and open IDLE. It will appear like picture below :



This is picture of Python Shell or Python Interactive Mode itself. Before writing some scripts, you have to know some types of values. There are 3 types :


  1. String (str)
  2. Integer (int)
  3. Float (float)
I will give little description about them :
  1. String is an object which formed of words or sentences. For examples, ‘World’, ’Good morning’, ’Have nice dream’, and ect.
  2. Integer is an object which formed of integer numerical. For examples, number of 239, number of 12, number of 35, and ect.
  3. Float is an object which formed decimal numerical. For examples number of 2.55, number of 3.11, number of 4.566, and ect.
OK friends, we continue to next step. After understanding the type of the objects, we will learn about how to print whatever we have written in the program. So, function that you should use is print function. How to use the function ? Let’s try to write something to IDLE that you open before. As I said before that Python with version 3 down and version 3 up is different. The diverification placed on writing object after print . For instance when you use Python version 3.3, object that you write after print must in brackets. See the examples below :

Then, when you use Python version 2.7 , so you don’t need to use brackets. See the examples below :

Now, you have known the different between Python version 3 down and Python version 3 up. Try to proof type of objects that you have written, for example let’s write some objects on Python Shell like this :a = “You look so beautiful”
b = 40
c = 20.7
a, b, and c are variables, then check the type of the three objects by using type(variable)
See the picture below :


You have seen what the result is. if Python prints <type ‘str’> ,it means the type of the variable is String. If Python prints <type ‘int’> ,it means the type of the variable is Integer. And if Python prints <type ‘float’> it means the type of the variable is Float.I think enough for my writing today, and I will continue to next material about Learning about Input value using Python easily on next day. I hope it’s useful for you all my friends especially for newbie. That’s all from me and please wait for my next writing. Thanks ;)


Tweet
Learning about Bases of Python Programming Language for Newbie Title : Learning about Bases of Python Programming Language for Newbie
Description : Hi Brother and Sister ? I’m sorry that I don’t have written again after long time ago, because of many activities in campus so that I ra...
Rating : 5

0 Response to "Learning about Bases of Python Programming Language for Newbie"

Post a Comment

← Newer Post Home
Subscribe to: Post Comments (Atom)

Popular Post

  • Program Execution (Organization and Architecture Computer)
    How to read this figure below ?  Notes  : Program Counter (PC) = Address of Instruction  Instruction Register (IR) = Ins...
  • How to Write Matematics Formulas on Python Programming Language
    Good night all programmers?  As my writing before about Learning if, for, and while function on Python Programming Language, I wil...
  • Microcontroller of Von Neumann vs Havard and CISC vs RISC
    Microcontroller of Von Neumann vs Havard and CISC vs RISC | pemprograman | komputer | bahasa python Microcontroll...
  • How to Use If, For, and While on Python Programming Language
    Welcome back to my page guys !    I’m happy to meet you again my friends because you all are the next generation on this country. We ...
  • How To Find Maximum And Minimum Value On Python Programming Language
    On my writing before, you have learned about tuple, list, and dictionary. You have to truly understand the topics before continuing to nex...
  • Contact Me On
    Contact Me on : e-mail : joni67676@gmail.com Facebook : John Twitter : @simplechilds Google + : Jhon Gu...
  • Creating Tuple, List, and Dictionary on Python Programming Language
    We have learned about Creating Function on Python Programming Language on my writing before. Now, we have to know how to collect a sequenc...
  • Definition and Function of Control Unit
    Definition and Function of Control Unit | pemprograman | komputer | bahasa python Control unit control CPU opera...

Label Cloud

  • Blog Tutorial
  • Komputer
  • Python Programming Language
  • Tips Trick

Blog

  • ▼  2014 (15)
    • November 2014 (1)
    • October 2014 (1)
    • September 2014 (3)
    • August 2014 (3)
    • July 2014 (7)

Followers

Mengenai Saya

Joni
View my complete profile
Back to top!
Copyright 2013 Computer Learning - All Rights Reserved Design by Mas Sugeng - Powered by Blogger