Python Mock Module

Copyright (c) 2024 MPI-M, Clara Bayley

—– GoodSciProjTemplate —– File: mock.py Project: src_py Created Date: Tuesday 27th February 2024 Author: Clara Bayley (CB) Additional Contributors: —– Last Modified: Tuesday 27th February 2024 Modified By: CB —– License: BSD 3-Clause “New” or “Revised” License https://opensource.org/licenses/BSD-3-Clause —– File Description: source file for mock python module

libs.src_py.mock.area_circle(radius)[source]

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...
libs.src_py.mock.hello_world()[source]

Prints ‘Hello World!’.

This function doesn’t take any parameters.