Python 3 not importing math module

just started ocean of code and this came up-

Standard Error Stream:

AttributeError: module 'math' has no attribute 'randint'

this written at the top:

import sys
import math

and this is the line:
startX = math.randint(0, width)

this can be deleted my bad i used the worng module