Python Having Trouble With Input In For Loop With Error Message

Python Having Trouble With Input In For Loop With Error Message