From d0d808b35b7ad475f8c5b0563e9d9e879972e7a0 Mon Sep 17 00:00:00 2001 From: JJJZXY <1522844911@qq.com> Date: Sun, 20 Dec 2020 11:04:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E5=91=A8=20=E7=AC=AC=E4=B8=89=E8=8A=82=E4=BD=9C=E4=B8=9A=2012.?= =?UTF-8?q?20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../.keep" | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "\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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 12.20/.keep" 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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 12.20/.keep" new file mode 100644 index 00000000..e69de29b -- Gitee From 84608117c3892e6fe8b6f6511afcf84158d2d411 Mon Sep 17 00:00:00 2001 From: JJJZXY <1522844911@qq.com> Date: Sun, 20 Dec 2020 20:27:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E5=91=A8=20=E7=AC=AC?= =?UTF-8?q?=E4=B8=89=E6=AC=A1=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third homework.py" | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 "\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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 12.20/third homework.py" 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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 12.20/third homework.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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 12.20/third homework.py" new file mode 100644 index 00000000..a68eb3fd --- /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_\345\274\240\345\205\264\351\233\250/\347\254\254\344\270\200\345\221\250\344\275\234\344\270\232.12.14-12.20/\347\254\254\344\270\200\345\221\250 \347\254\254\344\270\211\350\212\202\344\275\234\344\270\232 12.20/third homework.py" @@ -0,0 +1,29 @@ +# 四大基本数据结构中 list 和 tuple是有序的, dict 和 set 是无序的 +# 四大数据结构, 除了 tuple不可更改,其余的都是可以更改的 + +age = 24 #整数 +money = 99.99 #浮点数 +T = bool(1) +F = bool(0) #布尔值 +er = bytes("so many money".encode("utf-8")) #二进制 +c = None + +list1 = ["I am", age, "years old, and I make", money, "money today.", er, "so I am very happy", T, c] +print(list1) + +tuple1 = ("I am", age, "years old, and I make", money, "money today.", er, "so I am very happy", T, c) +print(tuple1) + +set1 = {"I am", age, "years old, and I make", money, "money today.", er, "so I am very happy", T, c} +print(set1) + +dict1 = {"age": 24, "money": 99.99, "T": bool(1), + "er": bytes("so many money".encode("utf-8")), "c": None} +print(dict1) + +echo(list1) + + + + + -- Gitee