Error Python: what's the problem?

Can't understand why it gives an error on the last line:
class Address:

 def __init__(self, street, city, state, zipcode):
 self.street = street
 self.city = city
 self.state = state
 self.zipcode = zipcode

 def get_street(self, street):
 return self.street

 def get_city(self, city):
 return self.city

 def get_state(self, state):
 return self.state

 def get_zipcode(self, zipcode):
 return self.zipcode

 def __str__(self):
 return str(self.street,self.city,self.state,self.zipcode)

address = Address('Grandview', 'Westland', 'Michigan', 48186)
street = address.get_street()
city = address.get_city()
state = address.get_state()
zipcode = address.get_zipcode()

print "%s, %s, %s, %s" % (street, city, state, zipcode)


Error:
TypeError
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-10-c76c12dc27b5> in <module>
 28 
 29 address = Address('Grandview', 'Westland', 'Michigan', 48186)
---> 30 street = address.get_street()
 31 city = address.get_city()
 32 state = address.get_state()

TypeError: get_street() missing 1 required positional argument: 'street'
get_street() missing 1 required positional argument: 'street'


Problem statement:
Write a class that represents a mail address of the person. It needs to have separate fields for specifying the name, addresses (street, house number, apartment number), city, region and zip code. Index must be numeric. Show an example of using the implemented class.
April 19th 20 at 12:46
1 answer
April 19th 20 at 12:48
Solution
get_street() - as get_city(), get_state(), by the way - require a required parameter (so these functions are defined above). You this option is not set.

Find more questions by tags Python