def geometric_rand_variance(probability):
    """This function returns the Variance of random Geometric probability

    Usage: geometric_rand_variance(probability)

     probability = probability of event occurring in decimal form ie. 0.7 for 70%"""
    try:
        variance = (1-probability)/(probability ** 2)
        return variance
    except (ZeroDivisionError, TypeError, ValueError):
        print( """This function returns the Variance of random Geometric probability
    
    Usage: geometric_rand_variance(probability)
     
     probability = probability of event occurring in decimal form ie. 0.7 for 70%""")