python classes and functions question

if i have this code:

i can't run it like this:

how can i change my function and classes so that i can run it like that? Thanks!

You are viewing a single comment. View All

@isaiah08 that is the original way. But i thought you wanted it your way. So all set?