Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 01. USD to BGN
- usd = float(input())
- bgn = usd * 1.79545
- print(bgn)
- =========================================================
- 02. Radians to Degrees
- from math import pi
- radians = float(input())
- degrees = radians * 180 / pi
- print(degrees)
- ============================================================
- 03. Deposit Calculator
- deposit_amount = float(input())
- months = int(input())
- annual_rate = float(input())
- per_year = deposit_amount * (annual_rate / 100)
- per_month = per_year / 12
- total_sum = deposit_amount + (months * per_month)
- print(total_sum)
- ============================================================
- 04. Vacation books list
- total_count_pages = int(input())
- pages_hour = int(input())
- count_days = int(input())
- total_hours = total_count_pages // pages_hour
- hours_per_day = total_hours // count_days
- print(hours_per_day)
- ============================================================
- 05. Supplies for School
- pens_count = int(input())
- markers_count = int(input())
- detergent_lt = int(input())
- percent = int(input())
- price_pens = pens_count * 5.80
- price_markers = markers_count * 7.20
- price_detergent = detergent_lt * 1.20
- total_price = price_pens + price_markers + price_detergent
- final_price = total_price - (total_price * (percent / 100))
- print(final_price)
- ============================================================
- 06. Repainting
- nylon = int(input())
- paint = int(input())
- razr = int(input())
- hours = int(input())
- nylon_price = (nylon + 2) * 1.5
- paint_price = (paint * 1.10) * 14.5
- razr_price = razr * 5
- total_sum = nylon_price + paint_price + razr_price + 0.40
- sum_workers = (total_sum * 0.3) * hours
- final_sum = total_sum + sum_workers
- print(final_sum)
- ============================================================
- 08. Basketball Equipment
- year_tax = int(input())
- shoes = year_tax - (year_tax * 0.40)
- suit = shoes - (shoes * 0.20)
- ball = suit / 4
- acc = ball / 5
- total_expenses = year_tax + shoes + suit + ball + acc
- print(total_expenses)
- ============================================================
- 09. Fish Tank
- length = int(input())
- width = int(input())
- height = int(input())
- percent = float(input())
- volume = length * width * height
- total_liters = volume / 1000
- percent_liters = total_liters * (percent / 100)
- needed_liters = total_liters - percent_liters
- print(needed_liters)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement