I have the following code:
print(img.size) print(10 * img.size)
This will print:
(70, 70) (70, 70, 70, 70, 70, 70, 70, 70,
img.size = tuple(i * 10 for i in img.size)