Город МОСКОВСКИЙ
00:04:10

How to find out cost price and profit in python

Аватар
Логическая Мелодия
Просмотры:
54
Дата загрузки:
03.12.2023 19:33
Длительность:
00:04:10
Категория:
Лайфстайл

Описание

Hi guys in this video I tell a tutorial on how to make the following code in the video
the code-p=int(input("enter the profit percentage"))
s=int(input("enter the selling price"))
ps=p*s
profit=ps/100
costprice=s-profit
print("The profit is ",profit)
print("the costprice is ",costprice)


Thanks for watching

Рекомендуемые видео