I recommended Codecademy as it gives you really good hands-on experience and guidance on your Python learning journey. Once you understand the foundation and you build bunch of Python projects you can easily transition into IoT. If LinkedIn Learning offers you a course you're interested in by all means go for it but I think you may pay more than with Codecademy. Codecademy charges you a symbolic fee only for advanced Python projects. They have Python foundation and basic projects for free.
Don't underestimate the power of learning from books. Half of what I know and learned about Python came from programming books.
In your case you may want to check out this https://www.amazon.co.uk/Getting-Started-Python-Internet-Things/dp/183855579X/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1618678516&sr=8-5 but after you've got basics down.