摘要:
#计算阶乘的3种方法 #采用普通函数1: 非递归 def fx1(n): result = n for i in range(1,n): result = result * i return result #采用普通函数2: 非递归 def fx2(n): i = 1 j = 0 while j >> 请输入一个整数:5 5 的阶乘为: 120... 阅读全文
摘要:
--场景1: A B a 1 a 2 a 3 b 4 b 5 希望实现如下效果: a 1,2,3 b 4,5 create table tmp as select 'a' A, 1 B from dual union all select 'a' A, 2 B from dual union all select 'a' A, 3 B from dual union all ... 阅读全文