Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 01. USD to BGN
- usd = float(input())
- bgn = usd * 1.79549
- 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())
- days = int(input())
- total_hours = total_count_pages // pages_hour
- hours_per_day = total_hours // days
- print(hours_per_day)
- ==========================================
- 05. Supplies for School
- pen_count = int(input())
- marker_count = int(input())
- detergent_lt = int(input())
- discount_percent = int(input())
- price_pen = pen_count * 5.80
- price_markers = marker_count * 7.20
- price_detergent = detergent_lt * 1.20
- all_price = price_pen + price_markers + price_detergent
- discount = all_price * (discount_percent / 100)
- total_price = all_price - discount
- print(total_price)
- ==========================================
- 06. Repainting
- nylon = int(input())
- paint = int(input())
- razr = int(input())
- hours_workers = int(input())
- price_nylon = (nylon + 2) * 1.5
- price_paint = (paint * 1.1) * 14.5
- price_razr = razr * 5
- sum_materials = price_nylon + price_paint + price_razr + 0.40
- sum_workers = (sum_materials * 0.30) * hours_workers
- total_sum = sum_materials + sum_workers
- print(total_sum)
- ==========================================
- 07. Food Delivery
- chicken_menu_count = int(input())
- fish_menu_count = int(input())
- veg_menu_count = int(input())
- price_chicken = chicken_menu_count * 10.35
- price_fish = fish_menu_count * 12.4
- price_veg = veg_menu_count * 8.15
- all_menu_price = price_chicken + price_fish + price_veg
- dessert = all_menu_price * 0.20
- total_sum = all_menu_price + dessert + 2.5
- print(total_sum)
- ==========================================
- 08. Basketball Equipment
- year_tax = int(input())
- shoes_price = year_tax - (year_tax * 0.40)
- suit_price = shoes_price * 0.80
- ball_price = suit_price / 4
- acc_price = ball_price / 5
- total_sum = shoes_price + suit_price + ball_price + acc_price + year_tax
- print(total_sum)
- ==========================================
- 09. Fish Tank
- length = int(input())
- width = int(input())
- height = int(input())
- percent = float(input())
- volume = length * width * height
- total_lt = volume / 1000
- acc_lt = total_lt * (percent / 100)
- result = total_lt - acc_lt
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement