+ 1
Search in python
For the fellowing code: I wanna the i variable to search into equal var for a number (int) In the fellowing script... It gives me like 6 time of number list PS: the input be like : 2x + 6 def function(): print ("here is some equalize:") print(''' 1- Equalize from the second level ''') equalize= input("chose your equalizer : ") if equalize== "1": equal= input("write it down : ") n=0 l= len(equal) for i in equal: number=[0,1,2,3,4,5,6,7,8,9] if i == number: print (i) else: print("exit") function()
13 Answers
+ 4
Hard to understand.
Please an example for input and output.
0
It is like
Input:
26x + 9
Output:
26
x
+
9
0
What does replace function do?
0
Ah thanks â¤ď¸â¤ď¸
0
Can u help me out in my script?
0
I need someone to help me i get no friend for rn
0
Well basically imma making an 2nd level equalize solver script
0
The user input like
2x^2+3x+7
0
I devide these into a list
(2,x2,3,x1,7)
lis[0]=a
list[2]=b
list[4]=c
Delta=b**2-4(a*c)
0
A solver ... I think u get it..