Last active
August 14, 2020 11:08
-
-
Save Neptune998/3fd0078697e0e463f3af111fee8ff955 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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