1.

Write a program to find the square of a number

Answer» #mainprograms=input(int("Enter a Number: "))s**2print("Square of the given number is" , s )You can put float in the place of "int" depending on the number you want to obtain.And in place of "s" you can take any variable or word to store the data given by the user.For ex - you cn write "integer", "p", etc


Discussion

No Comment Found