All, Please be aware that indentation is part of the syntax of python. When posting bits of code about which you have questions, please be sure to surround the code in triple backtick, or use the code block tool </> in …