Question: Define a function named print_pyramid_numbers(number_of_rows) which takes an integer as a parameter and prints a specific pyramid using numbers. Note: you can assume that the
Define a function named print_pyramid_numbers(number_of_rows) which takes an integer as a parameter and prints a specific pyramid using numbers. Note: you can assume that the parameter number_of_rows is always between 1 and 9 (inclusive) For example: Test Result print_pyramid_numbers(5) 1 212 32123 4321234 543212345 print_pyramid_numbers(4) 1 212 32123 4321234 Answer: (penalty regime: 0 %) 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
