Either my code is wrong or my math is wrong lol. Can't figure out for the past hour... PLEASE do not give out the answers directly, I would appreciate it. Indirect helps only, I'd like to improve myself.
Code:
loan = 1000
for years in range(10):
answer = (5/100) * loan * years
print(f"Year {years + 1} is ${answer + loan}")```