Skip to content

Commit a90af91

Browse files
committed
Edited!
1 parent 137f26a commit a90af91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

homework.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ def __init__(self, limit):
7979
def get_calories_remained(self):
8080
positive_message = ('Сегодня можно съесть что-нибудь ещё, '
8181
'но с общей калорийностью не более')
82-
8382
t_amount = self.get_today_limit()
8483

8584
if t_amount > 0:
8685
return (f'{positive_message} {t_amount} кКал')
87-
return ('Хватит есть!')
86+
return 'Хватит есть!'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy