Skip to content

Commit ea59844

Browse files
committed
add number
1 parent ae2114a commit ea59844

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

number.python

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/python
2+
#coding:utf-8
3+
# 在Python中有4种类型的数——整数、长整数、浮点数和复数。
4+
print 2, 123131231412414124
5+
print 3.14, 2.4E4 ## 2.4乘以10的4次方
6+
print 5 + 4j # 复数

0 commit comments

Comments
 (0)