h = 3[print(' ' * (h - i) + '@' * (2 * i - 1)) for i in range(h, 0, -1)]
Standard input is empty
@@@@@ @@@ @
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!