Error list object has no attribute split only in Cloud interpreter VSCode runs the code right when accepting a string as input
I am building a function to split an input string into two lists as they are numbers, and find an intersection between both. My code runs fine in VSCode(Desktop) Python 3.12, no errors, but when I tried to run it on a Cloud(Coderbytes), returns an error saying the input is a list, and hence it has no split attribute … Really confusing