<prompt> Unda hati ili kuhifadhi data ya mteja.  <response>: Huu hapa ni mfano wa hati ambayo inaweza kutumika kuhifadhi data ya mteja: Bainisha darasa la kuhifadhi darasa la data ya mteja Mteja: def __init__jina, jina_la_mwisho, jina_la_mwisho, nambari_ya_simu, anwani_ya_barua pepe: self.first_name first_name self. last_name last_name self.phone_number phone_number self.email_address email_address Kazi ya kuingiza data ya mteja def enter_customer_data: first_name inputIngiza jina la kwanza: last_name inputIngiza jina la mwisho: phone_number input Ingiza nambari ya simu: email_address inputIngiza anwani ya barua pepe: Unda kitu kipya cha Mteja na ukirejeshe Mtejajina_la_la_mwisho, nambari_ya_simu, anwani_ya_barua Kazi ya kuhifadhi data ya mteja def store_customer_datamteja: Fungua faili ya maandishi katika hali ya append yenye opencustomer_data.txt, a kama f: Andika data ya mteja kwenye faili f.writefcustomer.first_name,customer.last_name ,customer.phone_number,customer.email_addressn Mpango mkuu if __name__ __main__: Weka data mpya ya mteja new_customer enter_customer_data Hifadhi data ya mteja mpya_data_mtejamteja_mpya Mjulishe mtumiaji ambaye data imehifadhiwa chapishaData ya mteja imehifadhiwa kwa mafanikio. 