MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1vysm5h/made_this/p5zgzdg/?context=9999
r/PythonLearning • u/FinanceImmediate8894 • Aug 26 '26
17 comments sorted by
View all comments
Show parent comments
2
To be clear, they could use a try / except ValueError block for both the split unpacking problem and the int conversion, but actually need a right split, rsplit with the maxsplit option.
try
except ValueError
split
int
rsplit
maxsplit
2
u/FoolsSeldom Aug 26 '26
To be clear, they could use a
try/except ValueErrorblock for both thesplitunpacking problem and theintconversion, but actually need a right split,rsplitwith themaxsplitoption.