anyone could possibly help out why i've got such an error?
def square_digits(num):
result = []
for x in num:
result.append(x**2)
return result
pass
TypeError: 'int' object is not iterable
Thanks in advance