Why Is My If Loop Returning None Python Learn Code

Why Is My If Loop Returning None Python Learn Code