#
FLK-E265196
197
198 #print(x)
199 #print(ys)200
201 # setting the axes at the centre
202 fig = plt.figure()
195
196
197
198 #print(x)199 #print(ys)
200
201 # setting the axes at the centre
131
132 x = float(function[2])*x
133 posOfX = function.rfind('x')
134 #coefficient = function[posOfX - 1]135
136 operatorReaction(x)
137 operatorReaction2(x)
39 print("You have to type a number!")
40 sys.exit()
41operator1 = input("Type out your operator: ")
42 #operator1 == '+' or '-' or '*' or '/' or '^' or 'sqrt' or 'log' or 'sin' or 'cos' or 'tan' or ('tan^-1') or ('cos^-1') or ('sin^-1') 43
44if operator1 in ch:
45 pass
4import os
5from xml.dom.pulldom import IGNORABLE_WHITESPACE
6# lists for confirming validity of inputs
7#ch_pi =['pi' , 'π'] 8ch = ['+' , '-' , '*' , '/' , '^' , 'sqrt' , 'log' , 'sin' , 'cos' , 'tan' , 'tan^-1' ,'cos^-1' ,'sin^-1', '!']
9ch_trig = ['sin' , 'cos' , 'tan' , 'tan^-1' ,'cos^-1' ,'sin^-1', 'sqrt' , 'log' , '!']
10pi = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679
Block comments should have one space before the pound sign #
and the comment itself.
#Save the data to DB, to ensure redundancy before responding
db.save(req.data)
api.send(req)
# Save the data to DB, to ensure redundancy before responding
db.save(req.data)
api.send(req)