"""Copyright (c) 2024 MPI-M, Clara Bayley----- GoodSciProjTemplate -----File: mock.pyProject: src_pyCreated Date: Tuesday 27th February 2024Author: Clara Bayley (CB)Additional Contributors:-----Last Modified: Tuesday 27th February 2024Modified By: CB-----License: BSD 3-Clause "New" or "Revised" Licensehttps://opensource.org/licenses/BSD-3-Clause-----File Description:source file for mock python module"""importnumpyasnp
[docs]defhello_world():""" Prints 'Hello World!'. This function doesn't take any parameters. """print("Hello World!")
[docs]defarea_circle(radius):""" Calculate the area of a circle. Parameters: radius (float): The radius of the circle. Returns: float: The area of the circle. Examples: >>> area_circle(4.0) 50.26548245743669... """returnnp.pi*radius*radius