#### prabash

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:

InputResult
2**
**
5*****
*****
*****
*****
*****

#### CodeMonkeyJ

I'd rather have walked you to the answer, but... it's nothing. Next time, try showing what you've tried, what you don't understand, etc. Learning how to get the answer is better than just having the answer.

Python:
``print((val*"*"+"\n")*val)``

#### notAnAlien

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:

InputResult
2**
**
5*****
*****
*****
*****
*****

Hey, Try this

val = int(input())
for x in range (0, val):
for y in range (val):
print('*',end='')
print()

#### Santabat

side = int(input())
i = 0

while(i < side):
j = 0
while(j < side):
j = j + 1
print('*', end = '')
i = i + 1
print('')

#### Santabat

Complete the code to find if a given number is a prime number? The program will take a positive integer greater than 1 as input and indicate if it is a prime number by saying "prime", and if it is not a prime number saying "not a prime". Note there are 3 places in the given code that you need to fix for this code to work properly and give the expected output.

i = int(input())
j = 2
while (j <= (i/j)):
if not(i%j):
print("not a prime")
break
j = j + 1
if (j > i/j):
print ("prime")

#### Santabat

Modify the following code snippet to add two numbers.

def get_input():

# ------------------------------------

a = input("Enter number one: ")
b = input("Enter number two: ")

# ------------------------------------

sum = int(a) + int(b)
print (sum)

TestInputResult
get_input()12
23
Enter number one: 12
Enter number two: 23
35