This commit is contained in:
guanjihuan 2025-03-06 09:12:48 +08:00
parent 7f0a36220a
commit 60ebac5bed
3 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
[metadata] [metadata]
# replace with your username: # replace with your username:
name = guan name = guan
version = 0.1.161 version = 0.1.162
author = guanjihuan author = guanjihuan
author_email = guanjihuan@163.com author_email = guanjihuan@163.com
description = An open source python package description = An open source python package

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.2 Metadata-Version: 2.2
Name: guan Name: guan
Version: 0.1.161 Version: 0.1.162
Summary: An open source python package Summary: An open source python package
Home-page: https://py.guanjihuan.com Home-page: https://py.guanjihuan.com
Author: guanjihuan Author: guanjihuan

View File

@ -361,7 +361,8 @@ def print_array(array, line_break=0):
print(i0) print(i0)
else: else:
for i0 in array: for i0 in array:
print(i0+'\n') print(i0)
print()
# 以显示编号的样式,打印数组 # 以显示编号的样式,打印数组
def print_array_with_index(array, show_index=1, index_type=0): def print_array_with_index(array, show_index=1, index_type=0):