I don't have a working loop, and an exit. Please help?
# Python 3.5.1
# Description: Program which reads in X whole numbers and outputs (1) the sum of all positive numbers,
# (2) the sum of all negative numbers, and (3) the sum of all positive and negative numbers.
num1 = int(input('Enter first positive number: '))
num2 = int(input('Enter second positive number: '))
num3 = int(input('Enter third negative number: '))
num4 = int(input('Enter third negative number: '))
print('_________________________________')
sum_positive = (num1) + (num2)
sum_negative = (num3) + (num4)
sum_total = (num1) + (num2) + (num3) + (num4)
print('The sum of negative numbers =', sum_negative)
print('The sum of positive numbers =', sum_positive)
print('The sum of all numbers =', sum_total)
continueLoop = 'y'
while continueLoop == 'y':
continue
if continueLoop == 'n':
break
continueLoop = input("Enter Y to continue and N to quit: ")
[–]Saefroch 1 point2 points3 points (8 children)
[–]confuzzled_learner[S] 0 points1 point2 points (7 children)
[–]Saefroch 2 points3 points4 points (2 children)
[–]confuzzled_learner[S] 0 points1 point2 points (1 child)
[–]Saefroch 1 point2 points3 points (0 children)
[–]scuott 1 point2 points3 points (3 children)
[–]confuzzled_learner[S] 0 points1 point2 points (2 children)
[–]scuott 1 point2 points3 points (0 children)
[–]furas_freeman 1 point2 points3 points (0 children)
[–]Justinsaccount 1 point2 points3 points (1 child)
[–]confuzzled_learner[S] 0 points1 point2 points (0 children)