If you've misspelled "inhereted" as "inherited", congratulations! You've got the correct spelling. Don't worry though, typos happen to everyone. Remember to proofread your work before submitting it to avoid such errors. Double-checking is the key to perfecting your writing!