Sep-26-2019, 04:48 PM
PirĂ¡mide de Letras de n niveles
Iam asked to write a program in python that uses the for function to print a pyramid of leters of n levels.
To obtain the levels of the pyramid the code must ask for a number between 1 and 26.
Example:
The code must return the following pyramid when the input is 3:
A
A B A
A B C B A
Can you help to figure out how to do this, im learning python and so far the teacher hasn't showed us how to do something like this
Iam asked to write a program in python that uses the for function to print a pyramid of leters of n levels.
To obtain the levels of the pyramid the code must ask for a number between 1 and 26.
Example:
The code must return the following pyramid when the input is 3:
A
A B A
A B C B A
Can you help to figure out how to do this, im learning python and so far the teacher hasn't showed us how to do something like this