Getting a "this code will never be reached" under self.weight, for some reason. The code all works, however the self.weight inst returned when i print this function
class Person:
def __init__(self,name,weight):
self.name=name
self.weight=weight
def BMI(self):
return self.name
return self.weight
person1=Person("john",52)
print(person1.BMI())