<- Back to Chapter 6.

Answer to Problem 1

Question:

Write code that will print ten astrisks (*) like the following:

* * * * * * * * * *

Answer:

for row in range(10):
    print("*",end=" ")
Output:
* * * * * * * * * *

Explanation:

Video: Answer to Problem 1