en
Books
R.M. Lewis

Easy-To-Follow Tutorial To Learn Python Programming In Less Than One Week

  • danieliwilliams22цитирует8 месяцев назад
    the classes are going to be the containers that will hold on to the objects you have created and which are similar to each other in some manner.
  • danieliwilliams22цитирует8 месяцев назад
    the objects are going to be the various parts that are inside the code
  • danieliwilliams22цитирует8 месяцев назад
    the classes are going to work as the containers for the objects so that objects that are similar to each other to help the code work better
  • danieliwilliams22цитирует8 месяцев назад
    The objects help to define the different parts of the code and keep them all organized and easy to understand
  • danieliwilliams22цитирует8 месяцев назад
    #!/usr/bin/python
    counter=100 # An integer assignment
    miles=1000.0 # A floating point
    name="John" # A string
    print counter
    print miles
    print name
  • danieliwilliams22цитирует8 месяцев назад
    need to use the equal sign (=), to show which value goes to which variable to make things easier.
  • danieliwilliams22цитирует8 месяцев назад
    When you want to assign a new value over to one of your variables, you would
  • danieliwilliams22цитирует8 месяцев назад
    best to pick the ones that will work the best in your code and to call them up properly before you try to use them
  • danieliwilliams22цитирует8 месяцев назад
    assign the right values to the variables
  • danieliwilliams22цитирует8 месяцев назад
    including characters, decimals, and integers
fb2epub
Перетащите файлы сюда, не более 5 за один раз