Python Forum
Pyramid of leters of n levels
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyramid of leters of n levels
#1
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
Reply


Messages In This Thread
Pyramid of leters of n levels - by DanyMont1505 - Sep-26-2019, 04:48 PM
RE: Pyramid of leters of n levels - by metulburr - Sep-26-2019, 04:53 PM
RE: Pyramid of leters of n levels - by DanyMont1505 - Sep-26-2019, 05:26 PM
RE: Pyramid of leters of n levels - by jefsummers - Sep-26-2019, 06:30 PM
RE: Pyramid of leters of n levels - by woooee - Sep-27-2019, 07:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  print a * pyramid drogers10940 5 4,837 Apr-26-2020, 09:25 PM
Last Post: prothej227
  Pyramid gamingingrs 1 2,335 Oct-16-2018, 02:56 PM
Last Post: j.crater
  Divide a number - Multiple levels - Sum of all numbers equal to input number pythoneer 17 9,050 Apr-20-2018, 04:07 AM
Last Post: pythoneer
  Pyramid of Solitaires qwerty 1 3,530 Mar-22-2017, 04:10 PM
Last Post: nilamo
  Implementation Pyramid Solitaire qwerty 2 5,162 Feb-27-2017, 11:57 AM
Last Post: qwerty

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020