def screen_size_w(screensize: int, width: int) -> int:
return ((sum(screensize)) - (sum(width))) / (sum(width))
def screen_size_h(screensize: int, height: int) -> int:
return ((sum(screensize)) - (sum(height))) / (sum(height))
print(screen_size_h(1600, 500))
print(screen_size_h(2000, 500))
when I run it, it gives me the TypeError: 'int' object is not iterable, I've seen a lot of people having this problem, and a lot of solutions too, but they didn't really help a lot, I've tried everything I could think of, but I always get the same error. If you could help me in any way, I'd appreciate it