-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path018.py
More file actions
executable file
·25 lines (22 loc) · 449 Bytes
/
018.py
File metadata and controls
executable file
·25 lines (22 loc) · 449 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python
#-*- coding:utf-8 -*-
# FileName: 018.py
#
# Description:
#
# Version: 1.0
# Created: 2018-07-07 18:06:06
# Last Modified: 2018-07-07 18:26:50
# Revision: none
# Compiler: gcc
#
# Author: zt ()
# Organization:
import itertools as it
# l = [1, 2, 3, 4]
l = "1234"
for i in it.combinations(l, 3):
# print(i[0],i[1],i[2])
# print(i)
for c in i:
print(c)