Friday, May 17, 2013

What did learn about today?
In my second day of lesson in this python class, I learned a lot about the following below:
  • Variables & Data type -
    • Variables is the one of the most common concepts of programming,
    • Data Types is in four faces in that there is
      •  Integer (Int): These are whole number and Negative or positive. Example 26, -56
      • Floating points (float) These are numbers with Desmond number. Example 1.34
      • Boolean These are true or false value. Example Liberian
      • String these are words and this is the only data type that goes.  with cotation. Example "Hello"
    •  
  • Whitespace & Statements
    • White space does matters in programming.
  • Comments- in commits, there were two things that i learned in that you can start a simple commits with hatch # and in double commits you can used single or double codes 
  • What kinds of programs did you write?
    • They are as below:
      • GCC 4.6.3] on linux2
        Type "copyright", "credits" or "license()" for more information.
        ==== No Subprocess ====
        >>>
        Welcome to Python!

        Here are the results of Lesson 2
        Exercise 0 : Test Passed!
        Exercise 1 : Test Failed!
        Exercise 2 : Test Failed!
        Exercise 3 : Test Failed!
        >>> Print "Hello world"
        SyntaxError: invalid syntax
        >>> print "Hello world!"
        Hello world!
        >>>
        Welcome to Python!

        Here are the results of Lesson 2
        Exercise 0 : Test Passed!
        Exercise 1 : Test Passed!
        Exercise 2 : Test Failed!
        Exercise 3 : Test Failed!
        >>>
        Welcome to Python!

        Here are the results of Lesson 2
        Exercise 0 : Test Passed!
        Exercise 1 : Test Passed!
        Exercise 2 : Test Failed!
        Exercise 3 : Test Failed!
        >>>
        Welcome to Python!

        Here are the results of Lesson 2
        Exercise 0 : Test Passed!
        Exercise 1 : Test Passed!
        Exercise 2 : Test Passed!
        Exercise 3 : Test Failed!
        >>>
        Welcome to Python!
        7
        3

        Here are the results of Lesson 2
        Exercise 0 : Test Passed!
        Exercise 1 : Test Passed!
        Exercise 2 : Test Passed!
        Exercise 3 : Test Passed!
        >>>
        4

        Here are the results of Lesson 2
        Exercise 1 : Test Passed!
        Exercise 2 : Test Failed!
        >>>
        4
        d!
        >>>
        4

        Here are the results of Lesson 2
        Exercise 1 : Test Passed!
        Exercise 2 : Test Passed!
        >>>

No comments:

Post a Comment