samedi 29 avril 2023

please help me to make a hourglass pattern

please help me to make a hourglass pattern using python, with output result same like this:

 1 2 3 4 5
  * * * *
   A B C
    6 7
     *
    D E
  8 9 10
 * * * *
F G H I J

im done tried it for over 2 hours and still didnt get the pattern enter image description here

i'm done tried over 2 hours and still didnt get the pattern

Aucun commentaire:

Enregistrer un commentaire