<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def flush_devices(self):
 		""" 			overwrite the complete memory with zeros	 		"""

		self.rom.program([0 for i in range(self.rom.size)])
		self.flash.program([0 for i in range(self.flash.size)])
		for i in range(self.ram.size):
			self.ram.write(i, 0)