I dont think your doing anything wrong.
Its just telling you that the program has ended with no errors.
here’s my code :-
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# myMain.py
def main(args):
return 0
print("Hello, World!")
if __name__ == '__main__':
import sys
sys.exit(main(sys.argv))