Skip to content

Instantly share code, notes, and snippets.

@Neptune998
Last active August 14, 2020 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neptune998/3fd0078697e0e463f3af111fee8ff955 to your computer and use it in GitHub Desktop.
Save Neptune998/3fd0078697e0e463f3af111fee8ff955 to your computer and use it in GitHub Desktop.
class Website:
def __init__(self, name, url):
self.name = name
self.url = url
def print_url(self):
print("Name of Website " + self.name + "and URL "+ self.url)
web1 = Website("NeptuneWorld", "https://neptuneworld.in/")
web1.print_url()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment