Advertisement
ALEXANDAR_GEORGIEV

aluminum_joinery

Jun 4th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.63 KB | None | 0 0
  1. price = {
  2.     '90x130': {
  3.         'q<=30': 110,
  4.         'q>30': 110 - 110 * 5 / 100,
  5.         'q>60': 110 - 110 * 8 / 100
  6.     },
  7.     '100x150': {
  8.         'q<=40': 140,
  9.         'q>40': 140 - 140 * 6 / 100,
  10.         'q>80': 140 - 140 * 10 / 100
  11.     },
  12.     '130x180': {
  13.         'q<=20': 190,
  14.         'q>20': 190 - 190 * 7 / 100,
  15.         'q>50': 190 - 190 * 12 / 100
  16.     },
  17.     '200x300': {
  18.         'q<=25': 250,
  19.         'q>25': 250 - 250 * 9 / 100,
  20.         'q>50': 250 - 250 * 14 / 100
  21.     }
  22. }
  23. delivery = 60.0
  24. count_joinery = int(input())
  25. type_joinery = input()
  26. delivery = input()
  27.  
  28.  
  29.  
  30. if count > 99:
  31.     discount = 4 / 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement