python实现输入任意一个大写字母生成金字塔的示例 输入任意一个大写字母,生成金字塔图形defGoldTa(input):L=[chr(i)foriinrange(65,91)]#大写字母A--ZidA=65 生成金字塔