Skip to content

Instantly share code, notes, and snippets.

@WoodProgrammer
Created October 2, 2018 14:42
Show Gist options
  • Save WoodProgrammer/c23197ee757d00bee278e55af27d41d8 to your computer and use it in GitHub Desktop.
Save WoodProgrammer/c23197ee757d00bee278e55af27d41d8 to your computer and use it in GitHub Desktop.
import sys
class MalFriendInterface:
def __init__(self, MallikCount, MalFriendName):
self.MallikCount = MallikCount
self.MalFriendName = MalFriendName
def mallik(self):
pass
class MalFriendExecutor(MalFriendInterface):
def mallik(self):
for i in range(0, self.MallikCount):
print("Mallik {}'in içinde içinde .. KDV içinde .. ".format(self.MalFriendName))
mallikCount = sys.argv[1]
malFriendName = sys.argv[2]
obj = MalFriendExecutor(MallikCount=int(mallikCount), MalFriendName=malFriendName)
obj.mallik()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment