Python基础数据类型-Number(数字)

a = -1 # int b = 2.0 # float c = 13.11 # float d = 3.14j # complex print(type(a), type(b), type(c), type(d)) print(a + c) # 加:10.11 print(a - c) # 减:-
posted @ 2022-08-10 20:24  eosclover  Views(88)  Comments(0Edit  收藏  举报