Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Yes, at least it's possible:
number = int(input('Максимальное количество отжиманий'))
find1, find2, find3 = number*0.4, number*0.7, number*0.9
print(f'Ваша схема: {find1:.0f} {find2:.0f} {find3:.0f}')
Here the question is, if you need to write int(number * 0.3) without zeros after the decimal point, and not int numer * 3.
If there are no zeros at all, then I suppose you need to turn it into a string and simply delete the oulie using the .replace() method.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question