def findFactors(num: int)->list:
factors=[]
for i in range(1,num+1):
if num%i==0:
factors.append(i)
return factors
def find_factors(num: int) -> list:
return [i for i in range(1, num + 1) if num % i == 0]
# print(find_Factors(6))
# [1, 2, 3]