A float rounded is still a float. So when you round you’ll get things like 15.0. You can either just convert it directly to int (which I think might just truncate the number) or after the round you could add | int(0).
edit: now that I look, that might not matter with that error. I’d trying using a single quote ' to bracket the text rather than whatever that little tic mark is below the tilde on the keyboard.