Need Guidance To Solve My Error In Python Code Stack Overflow

Need Guidance To Solve My Error In Python Code Stack Overflow