简单学了一下 python 脚本编程
learn from: https://learn.udacity.com/courses/ud1110
A scripter to solve problem
1 | repeat: |
why you should choose data_type
An object’s type defines which operators and functions will work on that object and how they work,
different types have different properties,
so when you’re designing on computer program,
you need to choose types for your data based on how you’re going to use them.
For example, if you want to use a number as a part of a sentence in Python,
it’ll be easiest if that number is a string,
because there are specially designed operators and functions for working with these data.