a good plugin with eclipse3.6 and hadoop 1.1.2,i have use it that is true. very good ,every can try. you also see my bog in http://blog.csdn.net/yonghutwo/article/details/9185797
题目:有四个数字:1、2、3、4,能组成多少个互不相同且无重复数字的三位数?各是多少?
程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。
程序源代码
方法1:
#!/usr/bin/python
# -*- coding: UTF-8 -*-
for i in range(1,5):
for j in range(1,5):
for k in range(1,5):
if( i != k ) and (i != j) and