diff --git a/func.py b/func.py
new file mode 100644
index 0000000..98d558a
--- /dev/null
+++ b/func.py
@@ -0,0 +1,8 @@
+total = []
+while True:
+    unit= input("请输入:")
+    if unit== 'q':
+        break
+    else:
+        total.append(unit)
+print(total)
\ No newline at end of file