i have got a task to get a number,letter and print the letter times as the number with whitespace between them , like a square i mean NxN for example :click to see the example
Asked
Active
Viewed 32 times
1 Answers
0
It depends whether you are using Python 2 or 3. This answer provides a solution for your problem: https://stackoverflow.com/a/18908914/830457

mwk
- 426
- 7
- 13
-
Are you sure? For me this works: `print("Hello", end=" ") print(" World", end=" ")` – mwk Nov 21 '18 at 17:18
-
You right! my mistake i used the comma instead the end=" " – Dolev Dan Nov 21 '18 at 17:21