Instantiate an Object


Can anyone see where I'm going wrong? My error message is 'AttributeError: 'Triangle' object has no attribute 'check_angles'

Replace this line with your code.


def check_angles()

needs to be in the same scope as def __init__().


Ah, got it working now. Thank you!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.