learn from: https://learn.udacity.com/courses/ud1110

A scripter to solve problem

1
2
3
4
5
6
7
8
9
10
repeat:

try it the slow way to understand what you are trying to achieve
do some learning(remember to look up documentation)

break up the problem into steps
choose data_types、control_flows、...
write down your pseudo_code

write code & test code

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.