common module¶
The common module contains common functions and classes used by the other modules.
hello_world()
¶
Prints "Hello World!" to the console.
Source code in geofstpkg/common.py
def hello_world():
"""Prints "Hello World!" to the console.
"""
print("Hello World!")
random_numb()
¶
return a random number between 0 and 1
Returns:
| Type | Description |
|---|---|
float |
a random number between 0 and 1 |
Source code in geofstpkg/common.py
def random_numb():
"""return a random number between 0 and 1
Returns:
float:a random number between 0 and 1
"""
import random
return random.random()