#Python question- I'm trying to split a string taken in from a file into two integers. str.split() is obvious for the splitting, but would give strings.
I could break things down step by step, but I was hoping for a simple one liner with str.split() that would get me a 2-tuple or two element list of integers.
If you have a fediverse account, you can quote this note from your own instance. Search https://easymode.im/notes/ah8mpq07m6 on your instance and quote it. (Note that quoting is not supported in Mastodon.)