Need help writing two python programs!! tomorrow!!

 

v20240901