Paint Cost Problem Solution in Python || Sololearn

Pubblicato il: 10 novembre 2020
sul canale di: Codecrafters Hub
83
3

Problem :
You are getting ready to paint a piece of art. The canvas and brushes that you want to use will cost 40.00. Each color of paint that you buy is an additional 5.00. Determine how much money you will need based on the number of colors that you want to buy if tax at this store is 10%.

Task
Given the total number of colors of paint that you need, calculate and output the total cost of your project rounded up to the nearest whole number.

Input Format
An integer that represents the number of colors that you want to purchase for your project.

Output Format
A number that represents the cost of your purchase rounded up to the nearest whole number.

Sample Input
10

Sample Output
99


In questa pagina del sito puoi guardare il video online Paint Cost Problem Solution in Python || Sololearn della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Codecrafters Hub 10 novembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 83 volte e gli è piaciuto 3 spettatori. Buona visione!