Python五大标准数据类型

python

1
2
3
4
5
6
7
8
9
10
11
a,b,c,d = 1,2.0,3.00,"HHHH";
print(a);
print(b);
print(c);
print(d);
lists = ['1','2','3'];
print(lists);
tuples = ('1','2','3');
print(tuples);
dictionary = {1:'a',2:'b',3:'c'};
print(dictionary);
1
2
3
4
5
# 99乘法表
for i in range(1,10):
for j in range(i,10):
print(i,"*",j,"=",i*j,end='\t');
print("\n");

Python五大标准数据类型
http://example.com/2018/02/23/2018-02-23-python-标准数据类型/
Author
Hoey
Posted on
February 23, 2018
Licensed under