5. Travelling
Как да продължа след това:
destination = input() min_budget = int(input()) needed_money = 0 while min_budget >= needed_money: tips = int(input()) needed_money += tips if min_budget <= needed_money: print(f'Going to {destination}!') break
Задачата е номер 5 https://softuni.bg/trainings/resources/officedocument/46630/lab-problem-descriptions-programming-basics-with-python-january-2020/2666