Challenge: Draw a Box

Lab Python Beginner 10 points

Print this box made of stars. It is 5 characters wide and 3 lines tall:

*****
*   *
*****

Input

None.

Output

The three lines shown above. The middle line has a star, 3 spaces, and a star.

Example

Output

*****
*   *
*****
Sample output available
Editor
Python

Hints

You need three print() calls.

The middle line is a star, then three spaces, then a star.

Solution explanation

Spaces inside quotes are printed too, so "* *" keeps its three spaces.

Show solution
print("*****")
print("*   *")
print("*****")
Output
Answer
HOME LEARN COMMUNITY DASHBOARD