Brainiac11 / My-Projects

Missing whitespace around operator FLK-E225
Style
Minor
a year agoa year old
missing whitespace around operator
212        vector = np.vectorize(np.int_)
213        xr = np.array(x)
214        xs = xr.astype(float)
215        yr  =np.array(ys)216        y = yr.astype(float) 
217        ys = np.reshape(y , (100, 1))
218        plt.plot(xs ,ys, 'r')
missing whitespace around operator
 95            try:
 96                float(function[index])
 97            except:
 98                i=1 99            index = index + 1
100            
101        def operatorReaction(x):
missing whitespace around operator
1
2for(i) in [1,9,0,13,312,16,0,0,0,0]:
3    x = i**2 +(2*i)+14    print(x)
missing whitespace around operator
 87    answer = number1 / number2
 88    print(answer)
 89    with open('Log.txt', 'a') as f:
 90        f.write(str(number1) + str(operator1) + str(number2) + '=' + str(answer)+ '\n') 91elif operator1 == '^':
 92    answer = number1 ** number2
 93    print(answer)
missing whitespace around operator
 92    answer = number1 ** number2
 93    print(answer)
 94    with open('Log.txt', 'a') as f:
 95        f.write(str(number1) + str(operator1) + str(number2) + '=' + str(answer)+ '\n') 96elif operator1 == 'sqrt':
 97    answer = cmath.sqrt(number1)
 98    print(answer)