Could you help me to solve this question? thank you

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. You will learn more about inputs in the next session.

Val = int(input())

For example, if the input is 2 and 5 respectively:

Input Result

2 **

**

5 *****

*****

*****

*****

*****

val = int(input())

for x in range (0, val):

print('*',end='')

submitted by /u/AmilaIID
[link] [comments]

from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/KuN6nW3

Leave a comment

Design a site like this with WordPress.com
Get started
search previous next tag category expand menu location phone mail time cart zoom edit close