z = '346 + 324 - 368' z.split('+', '-')
Error:Traceback (most recent call last):
File "<pyshell#17>", line 1, in <module>
z.split('+', '-')
TypeError: 'str' object cannot be interpreted as an integer
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
how can I correct the Bad Request error on my curl request | tomtom | 8 | 7,236 |
Oct-03-2021, 06:32 AM Last Post: tomtom |
|
attribute error instead of correct output | MaartenRo | 2 | 2,897 |
Aug-28-2020, 10:22 AM Last Post: Larz60+ |
|
Correct py got error on another windows 7 | meetinnet | 8 | 6,542 |
Apr-25-2020, 04:57 PM Last Post: meetinnet |
|
Getting the error like function not defined .. suggest correct code | raghava | 1 | 2,719 |
Feb-04-2020, 11:20 PM Last Post: micseydel |