Index: lnt/external/stats/stats.py =================================================================== --- lnt/external/stats/stats.py +++ lnt/external/stats/stats.py @@ -775,7 +775,7 @@ samples = '' while samples not in ['i','r','I','R','c','C']: print('\nIndependent or related samples, or correlation (i,r,c): ', end=' ') - samples = raw_input() + samples = input() if samples in ['i','I','r','R']: print('\nComparing variances ...', end=' ') @@ -810,7 +810,7 @@ corrtype = '' while corrtype not in ['c','C','r','R','d','D']: print('\nIs the data Continuous, Ranked, or Dichotomous (c,r,d): ', end=' ') - corrtype = raw_input() + corrtype = input() if corrtype in ['c','C']: m,b,r,p,see = linregress(x,y) print('\nLinear regression for continuous variables ...') @@ -2996,7 +2996,7 @@ samples = '' while samples not in ['i','r','I','R','c','C']: print('\nIndependent or related samples, or correlation (i,r,c): ', end=' ') - samples = raw_input() + samples = input() if samples in ['i','I','r','R']: print('\nComparing variances ...', end=' ') @@ -3031,7 +3031,7 @@ corrtype = '' while corrtype not in ['c','C','r','R','d','D']: print('\nIs the data Continuous, Ranked, or Dichotomous (c,r,d): ', end=' ') - corrtype = raw_input() + corrtype = input() if corrtype in ['c','C']: m,b,r,p,see = linregress(x,y) print('\nLinear regression for continuous variables ...')