Python版本:python 3.2.2 电脑系统:win7旗舰 实例来源:python菜鸟教程100例 #!/usr/bin/python # -*- coding: UTF-8 -*- import string import math import time import sys import os #import pygame #eg1:There are 1, 2, 3, 4 numbers, can be composed of a number of different and
题目地址 #-*- codeing = utf-8 -*- #@Time : 2021/3/18 21:17 #@Author : HUGBOY #@File : 1.py #@Software: PyCharm 00x01 有四个数字:1.2.3.4,能组成多少个互不相同且 无重复数字的三位数?各是多少? num=0 for i in range(1,5): for j in range(1,5): for k in range(1,5): if (i!=j)and(i!=k)and(j!=k