What am I missing in my code? I've tried different variations of this code, maybe five. I've run the code and I get the statement execute, but there is still something missing. The name doesn't print along with it. Attached is a screenshot of the parameters that were given.
class Citizen:
""" this class is to describe a citizen of the City of Python """
def init(self, first_name, last_name):
self.first_name = Hello self.last_name = Dave def full_name(x): x = self.first_name + self.last_name def greeting(greet): full_name = raw_input(full_name) return greet + x
print("For the glory of Python!")
https://stackoverflow.com/questions/65386319/twilioquest-help-with-my-code-python-class-called-citizen December 21, 2020 at 08:57AM
没有评论:
发表评论