Saved Bookmarks
| 1. |
What could be the shortest as well as easiest approach in solving the given pattern? (See the attachment)Language: Python. Explain your answer. |
Answer»
n = int(input("Enter the number of rows:")) spaces = 2 * n - 2 str = 'A' for i in range(n):
print("[Program finished]")
|
|