Hovercraft Problem Solution in Python || Sololearn

Publicado em: 11 Novembro 2020
no canal de: Codecrafters Hub
153
4

Problem :

You run a hovercraft factory. Your factory makes ten hovercrafts in a month. Given the number of customers you got that month, did you make a profit? It costs you 2,000,000 to build a hovercraft, and you are selling them for 3,000,000. You also pay 1,000,000 each month for insurance.

Task:
Determine whether or not you made a profit based on how many of the ten hovercrafts you were able to sell that month.

Input Format:
An integer that represents the sales that you made that month.

Output Format:
A string that says 'Profit', 'Loss', or 'Broke Even'.

Sample Input:
5

Sample Output:
Loss


Nesta página do site você pode assistir ao vídeo on-line Hovercraft Problem Solution in Python || Sololearn duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Codecrafters Hub 11 Novembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 153 vezes e gostou 4 espectadores. Boa visualização!