[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Program Discussion :: Basics

Home > Programs > Basics

286 / 279

Write a program to print the pyramid up to the passed integer value.

1
2 3
4 5 6
7 8 9 10
11 12 13 . .

If we pass the value 13 it should print like the above (no need to print the 3 dots)

Answer:

print(''aa')

Asked In :: Virtusa

Post Your Answer Here:

Language:

Post Your Reply Here:



Language:

Post Your Reply Here:



Language:

Post Your Reply Here: