7 lines
171 B
Python
7 lines
171 B
Python
total = 0
|
|
while total <= 50:
|
|
number = int(input('Enter number : '))
|
|
total = total + number
|
|
print('The total is ... {0}'.format(total))
|
|
print('While loop end')
|