Skip to content

moroniq/find_costs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

# Tile Cost Calculator ๐Ÿงฑ

This Python script calculates the cost of tiling a floor, based on user-provided dimensions and tile price.

## ๐Ÿ“Œ How it works

1. The user enters:

ย  - width of the floor (in meters)

ย  - length of the floor (in meters)

ย  - cost per square meter of tiles

2. The program calculates and displays the total cost.

3. After each calculation, the user can choose to calculate again or exit.

## ๐Ÿ’ฌ Example interaction

Give the width of the floor in meters: 4

Give the length of the floor in meters: 5

Give the costs of the tiles in square meters: 45

Costs of the tiles are 900.00.

Do you want to check another costs? yes

...

## ๐Ÿ›  Technologies used

- Python 3

- while loop for repetition

- try/except block for input validation

- Basic math and string formatting

## ๐Ÿง  What this project demonstrates

- Handling user input

- Looping until user chooses to stop

- Error handling with ValueError

- Presenting results with precision formatting


Created with ๐Ÿ’ก by Olga Kฤ™ska

About

๐Ÿ  Python program to calculate the total cost of tiles needed to cover a floor of given dimensions and tile price per square meter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors