It is great that you are leveling up your coding standards! Moving from "making code work" to "writing clean, professional code" is exactly how you become a strong Python developer.
To follow Pythonic standards, you need to think beyond just syntax and embrace the "Pythonic" philosophy.
Before you start linting, you should know the philosophy that drives the language. You can actually see this by typing import this into your Python terminal. Here are the most critical takeaways for your code: