Help with Lab (Writing a IF statement inside of a FOR loop)

Please read the pinned message for guidance on how to format your code. It’s very hard to help you debug code when there’s no formatting.