diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/.keep" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/.keep" new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/\347\254\2541\343\200\2012\351\227\256--\345\233\233\345\244\247\346\225\260\346\215\256\347\261\273\345\236\213\347\232\204\345\210\206\347\261\273.md" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/\347\254\2541\343\200\2012\351\227\256--\345\233\233\345\244\247\346\225\260\346\215\256\347\261\273\345\236\213\347\232\204\345\210\206\347\261\273.md" new file mode 100644 index 0000000000000000000000000000000000000000..2ca8d99684260606ccc8b150f51b02b4a478e04c --- /dev/null +++ "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/\347\254\2541\343\200\2012\351\227\256--\345\233\233\345\244\247\346\225\260\346\215\256\347\261\273\345\236\213\347\232\204\345\210\206\347\261\273.md" @@ -0,0 +1,9 @@ +**四大数据类型的分类** + +- 是否可以更改 + - 可以更改:list(列表)、dict(字典)、set(集合) + - 不可更改:tuple(元祖) +- 是否有序 + - 有序:list(列表)、tuple(元祖) + - 无需:dict(字典)、set(集合) + diff --git "a/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/\347\254\2543\351\227\256--\347\254\254\344\270\200\345\221\250-\347\254\254\344\270\211\350\212\202\350\257\276\345\220\216\344\275\234\344\270\232.py" "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/\347\254\2543\351\227\256--\347\254\254\344\270\200\345\221\250-\347\254\254\344\270\211\350\212\202\350\257\276\345\220\216\344\275\234\344\270\232.py" new file mode 100644 index 0000000000000000000000000000000000000000..78b8a002af7bd24ea1cfa85a7439b4ab478f2114 --- /dev/null +++ "b/\347\254\254\344\272\214\346\234\237\350\256\255\347\273\203\350\220\245/5\347\217\255/5\347\217\255_Leo_\345\256\227\350\277\234/\347\254\254\344\270\200\345\221\250_\344\275\234\344\270\232\346\217\220\344\272\244/\347\254\254\344\270\200\345\221\250_\347\254\254\344\270\211\350\212\202\344\275\234\344\270\2322020-12-20/\347\254\2543\351\227\256--\347\254\254\344\270\200\345\221\250-\347\254\254\344\270\211\350\212\202\350\257\276\345\220\216\344\275\234\344\270\232.py" @@ -0,0 +1,19 @@ +#list(列表) 六大基本类型:int float string bool bytes none +a=[1, 2.0, 'hello world', True, b'one', None] +print(a) +print(type(a)) + +#tuple(元祖) 六大基本类型:int float string bool bytes none +b=(1, 2.0, 'hello world', True, b'one', None) +print(b) +print(type(b)) + +#set(集合) 六大基本类型:int float string bool bytes none +c={1, 2.0, 'hello world', True, b'one', None} +print(c) +print(type(c)) + +#dict(字典) 六大基本类型:int float string bool bytes none +d={"A":1, "B":2.0, "C":'hello world', "D":True, "E":b'one', "F":None} +print(d) +print(type(d)) \ No newline at end of file