Привет, ребята, я новичок в python, почему я не могу вызывать функции два раза (в if и в else)? [закрыто]
class Get_Cost_Mixin:
def get_name(self):
if len(list(self.ingredients.split())) <= 1:
call.get_cost() <------
call.get_price() <------
print(str(self.ingredients) + ' Smoothie')
else:
call.get_cost() <------
call.get_price() <------
print(str(self.ingredients) + ' Fusion')
Привет ребята, я новичок в python, почему я не могу вызывать фукции два раза (в if и в else)?