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 digitaldatai/common.py
def hello_world():
"""Prints "Hello World!" to the console.
"""
print("Hello World!")
random_number()
¶
Returns a random number between 0 and 1.
Returns: float: A random number between 0 and 1
Source code in digitaldatai/common.py
def random_number() :
""" Returns a random number between 0 and 1.
Returns:
float: A random number between 0 and 1
"""
import random
return random.random()