We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b388f9 commit 8285f6fCopy full SHA for 8285f6f
README.md
@@ -3,4 +3,11 @@
3
写着玩儿的(<br>
4
增加了像String和Integer这样的类,是对Python原版类型的扩展<br>
5
例如,你可以用这个模块的String类来创建字符串,这样你就可以使用这个类的函数,例如isNumber()函数,可以判断这个字符串是否是由数字组成的<br>
6
+'''Python
7
+ from type import *
8
+ test = String("Hello World")
9
+ print(test) # Hello World
10
+ print(test.isnumber()) # False
11
+ print(test.length) # 11
12
+'''
13
你同样可以重写这些类,来为它们添加更多方法<br>
0 commit comments