When a correlation, usually Person type correlation, is calculated, two variables have to be continuous. But this requirement does not…