Write a program to calculate and print square of the number.
Answers
Answered by
0
# Python program to calculate square of a number
# Method 1 (using number*number)
# input a number
number = int (raw_input ("Enter an integer number: "))
# calculate square
square = number*number
print "Square of {0} is {1} ".format (number, square)
Similar questions