I am starting to play around with selenium in python, and when i try to run this code it just pops an error that this version of chromedriver only supports version 74 of chr
This most commonly happens when chrome itself updates, but you have not updated the local ChromeDriver version to match your locally installed version of chrome.
In chrome, click the three dots, in the upper right, Help --> About Google Chrome. this will show your version of chrome. Or chrome://settings/help
Download the same version from https://chromedriver.storage.googleapis.com/index.html
Save that to the path defined, as in @DebanjanB's answer.