diff --git a/func.py b/func.py
new file mode 100644
index 0000000..33a4ac0
--- /dev/null
+++ b/func.py
@@ -0,0 +1,16 @@
+def new_input():
+    total = []
+    while True:
+        unit= input("请输入:")
+        if unit== 'q':
+            break
+        else:
+            try:
+                unit=int(unit)
+            except:
+                print("请输入一个数字")
+            else:
+                total.append(unit)
+            print("-"*30)
+    print(total)
+new_input()