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 fiopiogeos/common.py
def hello_world():
"""Prints "Hello World!" to the console.
"""
print("Hello World!")
random_number()
¶
Generates a random number between 1 and 100.
Returns:
| Type | Description |
|---|---|
int |
A random integer. |
Source code in fiopiogeos/common.py
def random_number():
"""
Generates a random number between 1 and 100.
Returns:
int: A random integer.
"""
return random.randint(1, 1000)