def myprint(v):
print v
print type(v)
try:
print v.shape
except:
try:
print len(v)
except:
pass
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/
Python之打印变量
阅读 58
2022-07-18
def myprint(v):
print v
print type(v)
try:
print v.shape
except:
try:
print len(v)
except:
pass
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/
相关推荐
精彩评论(0)