class Leacher: """ Class representing the Leacher 2.0 object, used for file sharing on the internet. """
def __init__(self, name, creator, designer, resolution):
"""
Constructor for Leacher 2.0 class.
Args:
name (str): The name of the Leacher 2.0 object.
creator (str): The creator of the Leacher 2.0 object.
designer (str): The designer of the Leacher 2.0 object.
resolution (str): The resolution of the Leacher 2.0 object.
"""
self.name = name
self.creator = creator
self.designer = designer
self.resolution = resolution
def share_file(self, file_name):
"""
Shares the specified file using the Leacher 2.0 object.
Args:
file_name (str): The name of the file to be shared.
Returns:
str: A message indicating the successful sharing of the file.
"""
return "File '{}' has been successfully shared using Leacher 2.0.".format(file_name)