My code is incredibly long, but I would appreciate if someone would take the time to look through it. It is Python and it's giving me the wrong output, but I would like an explanation on why my code isn't working. Also, on how I can fix it. The output I attached is what I would like it to look like.