Write a method which can calculate and return square value of number
Topic: Write a method which can calculate and return square value of number
Solution
def square(num): return num ** 2
List all Python Programs
Solution
def square(num): return num ** 2