import matplotlib.pyplot as plt
import numpy as np

def f(n):
    if n <= 9:
        return (n**2)-7;
    else:
        return (n-10)**2-7;

n = np.arange(0, 99)

plt.stem(n, list(map(f, n)))
fb84e412e01ac40373b73e857a41bd5a99d3ee92
<mask token>


def f(n):
    if n <= 9:
        return n ** 2 - 7
    else:
        return (n - 10) ** 2 - 7


<mask token>

<mask token>


def f(n):
    if n <= 9:
        return n ** 2 - 7
    else:
        return (n - 10) ** 2 - 7


<mask token>
plt.stem(n, list(map(f, n)))

<mask token>


def f(n):
    if n <= 9:
        return n ** 2 - 7
    else:
        return (n - 10) ** 2 - 7


n = np.arange(0, 99)
plt.stem(n, list(map(f, n)))

import matplotlib.pyplot as plt
import numpy as np


def f(n):
    if n <= 9:
        return n ** 2 - 7
    else:
        return (n - 10) ** 2 - 7


n = np.arange(0, 99)
plt.stem(n, list(map(f, n)))

import matplotlib.pyplot as plt
import numpy as np

def f(n):
    if n <= 9:
        return (n**2)-7;
    else:
        return (n-10)**2-7;

n = np.arange(0, 99)

plt.stem(n, list(map(f, n)))