<prompt> Unda hati ya Python inayounganisha kwenye hifadhidata ya MySQL na kufanya shughuli za CRUD kwenye jedwali. Hati inapaswa kutumia SQLAlchemy kama ORM na kuruhusu mtumiaji kuingiliana na hifadhidata kupitia safu ya amri. PLINFORMAT  <response>: chatukuagiza syskutoka sqlalchemy import create_engine, Safu, Integer, Stringkutoka sqlalchemy.ext.declarative import declarative_basekutoka sqlalchemy.orm import sessionmakerMsingi declarative_baseMtu wa darasa Msingi: __tablename__ watu id Safu wimaNambari kamili, ufunguo_msingiKweli jina Safu wimaKamba50, isiyoweza kubatilikaUongodef connect_to_db: injini create_enginemysqlpymysql:username:passwordlocalhostdb_name Base.metadata.create_allinjini Kikao mtayarishaji kikaobindinjini kurudi Kikaodef add_personkikao, jina: new_person Mtujinajina kipindi.ongezamtu_mpya kikao.commit printfImeongezwa name kwenye hifadhidata.def get_personskikao: watu session.queryPerson.all kwa mtu binafsi: chapafperson.id: person.namedef update_personkipindi, kitambulisho,jina_mpya: mtu session.queryPerson.getid ikiwa mtu: person.name new_name kikao.commit printfImesasisha mtu aliye na kitambulisho id hadi new_name. kwingine: printMtu hajapatikana.def delete_personkikao, kitambulisho: mtu session.queryPerson.getid ikiwa mtu: kipindi.futamtu kikao.commit printfMtu aliyefutwa mwenye kitambulisho id. kwingine: printMtu hajapatikana.kama __name__ __main__: kikao connect_to_db wakati Kweli: chapanChaguo: chapa1. Ongeza mtu chapa2. Orodhesha watu wote chapa3. Sasisha jina la mtu chapa4. Futa mtu chapa5. Toka choice inputIngiza chaguo lako: ikiwa chaguo 1: name inputIngiza jina la mtu: add_personkipindi, jina elif choice 2: pata_watukikao elif choice 3: id intinputIngiza kitambulisho cha mtu: new_name inputIngiza jina jipya: sasisha_mtukipindi, kitambulisho, jina_mpya elif choice 4: id intinputIngiza kitambulisho cha mtu: delete_personkipindi, kitambulisho elif choice 5: sys.toka0 kwingine: printChaguo batili. Tafadhali jaribu tena. 