- Joined
- Mar 26, 2022
- Messages
- 1
- Reaction score
- 0
Complete the code to take the input as an integer and output a square of "*" characters.
An input can be taken by using the following line.
Val = int(input())
For example, if the input is 2 and 5 respectively:
For example:
An input can be taken by using the following line.
Val = int(input())
For example, if the input is 2 and 5 respectively:
For example:
Input | Result |
---|---|
2 | ** ** |
5 | ***** ***** ***** ***** ***** |