Python program to calculate the square root of a given number:

import math

def calculate_square_root(number):

return math.sqrt(number)

# Example usage

number = float(input("Enter a number: "))

result = calculate_square_root(number)

print("The square root of", number, "is", result)

```

This program imports the `math` module, which provides a `sqrt()` function to calculate square roots. Then, it defines a function `calculate_square_root()` that takes a number as input and returns its square root. Finally, it prompts the user to enter a number, calculates its square root, and prints the result.