from typing import Union


def expo(num1: Union[int, float], num2: Union[int, float]) -> Union[int, float]:
    """Raises given number to given power and returns result"""
    expo: Union[int, float] = num1 ** num2
    return expo