How To Plot Using For Loop Python Questions For If Statement