I would like to make sure that the same film is added, but unfortunately, something is not working out. What am I doing wrong?
class Movie:
    def __init__(self, name, pegi, year):
        self.name = name
        self.pegi = pegi
        self.year = year
class Movies(Movie):
    def __init__(self):
        self.collection = []
    def addMovieToCollection(self, name, pegi, year):
        super().__init__(name, pegi, year)
        structure_of_movie = name + " - " + pegi + " - " + str(year)
        if structure_of_movie in self.collection :
            print("That movie like" + self.name + " already exists")
        else:
            self.collection.append(structure_of_movie)
    def showMovie(self):
        return print(*self.collection, sep='\n')
f = Movies()
f.addMovieToCollection("Iron Man 1", "blue sign", 1995)
f.addMovieToCollection("Iron Man 1", "blue sign", 1995)
f.addMovieToCollection("Iron Man 2", "+7", 1995)
f.addMovieToCollection("Iron Man 3", "+16", 1995)
f.addMovieToCollection("Iron Man 4", "+12", 1995)
f.addMovieToCollection("Iron Man 5", "+18", 1995)
f.showMovie()
   
Please Help me
 
     
    