0
I am not able to update stock
After purchased i am not able to update stock after purchased in my project ... Solo learners pls help me here @sololearn @developers @python https://code.sololearn.com/cMVhTk4Ud2uZ/?ref=app
6 odpowiedzi
+ 2
In your code it is:
if data[0]==name;
The problem is with the **;**
In if statements you use **:**
The syntax as follows:
If *expression* :
+ 1
Hello.
It shows a syntax error because you have used **;** instead of **:** inside an if statement.
+ 1
No not yet even i told u that it was my mistake while i had written the dummy code for posting here..
0
Sorry but i am not getting properly this can u pls explain me to where to use that statement
0
Ohh sorry !! Its typing mistake from my side it is ** : ** in code
0
Was the issue resolved or not? if not, can you justify the problem, so others can help?