no message
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#由实部和虚部组成
|
||||
a=123+4j
|
||||
a=123+4.5j
|
||||
print("实部:",a.real)
|
||||
print("虚部:",a.imag)
|
||||
print('---')
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
bol=True
|
||||
print(type(bol))
|
||||
bol1=True
|
||||
print(type(bol1))
|
||||
print(True+1)
|
||||
print(False+1)
|
||||
print("--------------")
|
||||
bol2=False
|
||||
print(type(bol2))
|
||||
print(bool(10))
|
||||
print(bool(0))
|
||||
print(bool(False))
|
||||
|
||||
Reference in New Issue
Block a user