Luci-Code-Tools 2.2.6__tar.gz → 2.2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Luci-Code-Tools
3
- Version: 2.2.6
3
+ Version: 2.2.7
4
4
  Summary: 一个简单的工具库 / A Eazy Tools Module
5
5
  Home-page: https://github.com/Luci-Code-2014
6
6
  Author: Luci_Code
@@ -498,7 +498,7 @@ from sys import exit
498
498
  color("=== 计算器 ===", 32, None, 1, 2)
499
499
  while True:
500
500
  num1 = safe_float("请输入第一位数字: ", 32, None, 1)
501
- num2 = safe_float("请输入第一位数字: ", 32, None, 1)
501
+ num2 = safe_float("请输入第二位数字: ", 32, None, 1)
502
502
  operators = safe_input("请输入运算符(+, -, *, /, 输入 quit 退出): ")
503
503
  if operators == "+":
504
504
  color(f"结果为: {num1 + num2}\n==========", 32, None, 1, 2)
@@ -7,7 +7,7 @@ import os
7
7
  if os.name == "nt": # 系统名称 = "nt" 为 Windows
8
8
  os.system("") # 激活 win10 / win7 的终端彩色显示功能, 只是为了兼容 cmd , powershell 这类不支持彩色的终端
9
9
 
10
- __version__ = "2.1.7" # 明确版本号
10
+ __version__ = "2.2.7" # 明确版本号
11
11
  __all__ = [
12
12
  'color', 'color_rgb', 'clear_screen',
13
13
  'safe_input', 'safe_int', 'safe_float'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Luci-Code-Tools
3
- Version: 2.2.6
3
+ Version: 2.2.7
4
4
  Summary: 一个简单的工具库 / A Eazy Tools Module
5
5
  Home-page: https://github.com/Luci-Code-2014
6
6
  Author: Luci_Code
@@ -498,7 +498,7 @@ from sys import exit
498
498
  color("=== 计算器 ===", 32, None, 1, 2)
499
499
  while True:
500
500
  num1 = safe_float("请输入第一位数字: ", 32, None, 1)
501
- num2 = safe_float("请输入第一位数字: ", 32, None, 1)
501
+ num2 = safe_float("请输入第二位数字: ", 32, None, 1)
502
502
  operators = safe_input("请输入运算符(+, -, *, /, 输入 quit 退出): ")
503
503
  if operators == "+":
504
504
  color(f"结果为: {num1 + num2}\n==========", 32, None, 1, 2)
@@ -476,7 +476,7 @@ from sys import exit
476
476
  color("=== 计算器 ===", 32, None, 1, 2)
477
477
  while True:
478
478
  num1 = safe_float("请输入第一位数字: ", 32, None, 1)
479
- num2 = safe_float("请输入第一位数字: ", 32, None, 1)
479
+ num2 = safe_float("请输入第二位数字: ", 32, None, 1)
480
480
  operators = safe_input("请输入运算符(+, -, *, /, 输入 quit 退出): ")
481
481
  if operators == "+":
482
482
  color(f"结果为: {num1 + num2}\n==========", 32, None, 1, 2)
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="Luci-Code-Tools",
8
- version="2.2.6",
8
+ version="2.2.7",
9
9
  author="Luci_Code",
10
10
  author_email="3967742419@qq.com",
11
11
  description="一个简单的工具库 / A Eazy Tools Module",