You Should Believe Him Now

My friend, Qbaidul Ouader claimed again that he can do math. He knows that no one going to believe him this time too. So, he did some math and gave you a challenge to do math like him. He calculated the average of two numbers and told you to do so.

This is a companion discussion topic for the original entry at

for i in range(N):
#Could anyone tell me what is wrong with the code here