Subj : simple math program To : All From : Darkman Almighty Date : Fri Feb 12 2021 18:42:27 Ok, I'm trying to write a math program for fun... asks what operation you wanna run.. and then how many numbers. I got it to work for adding.. but subtracting no so much. Heres what I have for that def minus(): num =input ("How many numbers you want to subtract? ") num = int(num) result = [] for i in range(num): number=int(input(f'Please enter the (i+1) value :')) result.append(int((number))) def sub(number): total=0 for i in number: total - = i return total print ("your total is:, (sub(result))) I ran this and it seems to add the numbers as a negative interger. Thoughts? Darkman Almighty --- Mystic BBS v1.12 A47 2021/01/26 (Raspberry Pi/32) * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129) .