print("I will help you to sum numbers up")
sum = 0
while (sum < 30): sum = sum + int(input("Give me a number:")) print(sum) if (sum >= 30): print("Reached the limit!") while (1): answer = input("How are you?") if (answer == "Great!"): print("Glad to hear!") break
|