Wrong Output using this logic

At the very end of the video, we can see the output is “yes it is” while it should not be. The Large Number Passed is even number and even numbers can’t be prime.
Or is there anything that I’m missing, I watched it thrice, couldn’t get the issue. He said his laptop is getting slow and video ends.
Should there be any correction in this video??

No Code is correct
and also video is complete

actually the mistake is sir didn’t build the code again after making changes(after changing value)

sir just run the file which was builded previously
hence give the old output