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,
You are trying to apply the function on Tuple as a whole. You need to apply it on individual elements and return a new tuple.
newTuple = tuple([10*x for x in oldTuple])
Remember you cannot change a Tuple.