Pinned Repositories
my-work
def calculate_square(number): return number * number # Get a number from the user number = int(input("Please enter a number: ")) # Calculate and print the square print("The square of {} is {}".format(number, calculate_square(number)))
vds1555's Repositories
vds1555/my-work
def calculate_square(number): return number * number # Get a number from the user number = int(input("Please enter a number: ")) # Calculate and print the square print("The square of {} is {}".format(number, calculate_square(number)))