day01 data types

There are five data types, string, integer, float, list type, the typical word.

String: in quotes should be entered, such as, '' ''

Integer, floating point: direct input

Phenotypes: input within [], are separated. The data list may be in any of the above 5 type. Need to know the location of data in the list when the value.

              Value: Use [] value, the data fill position in parentheses, the first bit is 0, and so on, the penultimate one is -1.            

Typical characters: {} in the input data with between separated. Each data input mode annotations are used in the form of 'Image': 'data'. The data presented here may be any of the five data types.

             Value: Use [] values ​​in brackets 'Image'

             If they are nested data, values ​​can be used continuously when [] be the value, according to the need for nested Methods Data list word or typical data.

Use [] is not taken if the value being given, the value is returned using .get none.

 

Guess you like

Origin www.cnblogs.com/Franciszw/p/12333876.html