Wednesday, May 15, 2013

1st Day in the Python for Beginner Class at iLab

Dear All!
       I am Peal Hussein Nyenkan, I live in Monrovia the Capital city of Liberia I am an Advocate work with Movement Against violence and Impunity of Africa. My father hail from Liberia one of the three original counties of Liberia called Sinoe county.

My hobbies are identifying with less fortunate (war affected Youth), unbeliever as I one of the young man In Liberia who does not believe the existence of God because of the existence evil.

I have made an unbending and unwavering decision about becoming a programmer and the reason is just sample; I want to program toys for kids (games).

Programming is  the process of designing, writing, testing, debugging, and maintaining the source code of computer programs. This source code is written in one or more programming languages (such as C++, C#, Java, Python, Smalltalk, etc.). The purpose of programming is to create a set of instructions that computers use to perform specific operations or to exhibit desired behaviors. The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.

My today lesson:

ython 2.7.3 (default, Aug  1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type "copyright", "credits" or "license()" for more information.
==== No Subprocess ====
>>> print "Hello World"
Hello World
>>>
what is your name? Peal Nyenkan
Hello  Peal Nyenkan!
>>>
what is your favorite color? Blue
Hello  Blue!
>>>
what is your father name? Mr. Nyenkan
Hello  Mr. Nyenkan!
>>>
what is your father name?Nyenkan
Welcome Nyenkan!
>>>
what is your father name? Nyenkan
are you here for interview  Nyenkan?
>>>
what is your father name? Peal
are you felling good  Peal?
>>>
Where do you go to School?Monrovia
are you felling good Monrovia?
>>>
Where do you go to School? Monrovia
I go to School in Monrovia  Monrovia?
>>>
Where do you go to School? Monrovia
Traceback (most recent call last):
  File "/tmp/guest-rBq9fq/Nyenkan.py", line 2, in <module>
    print "I go to School in  %s?" %Monrovia
NameError: name 'Monrovia' is not defined
>>>
Where do you go to School? monrovia
I go to School in   monrovia?

The command Questions

name =raw_input("Where do you go to School?")
print "I go to School in  %s?" %name

No comments:

Post a Comment