# Get the length of a side of the cube from the user
side_length = float(input("Enter the length of a side of the cube: "))
# Calculate the area of the cube (side_length^3)
surface_area = side_length**3
# Print the calculated surface area
print(f"The area of the cube with side length {side_length} is: {surface_area}")
Output:
Enter the length of a side of the cube: 5
The area of the cube with side length 5.0 is: 125.0