Python main() Sample


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #!/usr/bin/env python3
  2.  
  3. def main():
  4.  
  5. print("Hello, World")
  6.  
  7. if __name__ == '__main__':
  8. main()

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.