Advertisement
dipollwody

Untitled

Jan 16th, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. from math import *
  2.  
  3.  
  4. print('ile warzysz kilo (pamiętaj bez przecinka)?')
  5. a = float(input())
  6. print('ile mierzysz centymetrów (pamiętaj bez przecinka) ?')
  7. b = float(input())
  8. c = (b ** 2)
  9. s = a / c
  10.  
  11. print('Liczy sie najwyższy argument czyli: ')
  12. if (s <= 0.0016 <= 0.00169 ):
  13. print("wygłodzenie")
  14. if (s <= 0.0017 <= 0.00179 ):
  15. print("wychudzenie")
  16. if (s <= 0.0018 <= 0.0025):
  17. print("niedowaga")
  18. if (s <= 0.00299 <= 0.0030):
  19. print("nadwaga")
  20. if (s <= 0.00349 <= 0.0035):
  21. print("I stopień otyłości")
  22. if (s <= 0.00399 <= 0.0040):
  23. print("II stopień otyłości")
  24. if (s >= 0.0040 ):
  25. print("III stopień otyłości")
  26.  
  27.  
  28. print("-------------------------------------------")
  29. print("-------------------------------------------")
  30. print('twoje Bmi')
  31. print(s)
  32. print('Liczy sie najwyższy argument')
  33. print("-------------------------------------------")
  34. print("-------------------------------------------")
  35. print('tabela Bmi dla progrmu')
  36. print("wygłodzenie 0.0016/0.0017")
  37. print("wychudzenie 0.0017/0.0018")
  38. print("niedowaga 0.0018/0.0025")
  39. print("nadwaga 0.0030/0.0035")
  40. print("I stopień otyłości 0.030/0.0035")
  41. print("II stopień otyłości 0.0035/0.0040")
  42. print("III stopień otyłości powyżej 0.0040")
  43. print("-------------------------------------------")
  44. print("koniec badania")
  45.  
  46.  
  47. print("-------------------------------------------")
  48. print("-------------------------------------------")
  49. print('tera pora na obliczenie kalori')
  50. print("-------------------------------------------")
  51.  
  52. print('ile kilogramów na prawa ?')
  53. c = int(input())
  54. print('ile razy podniosłeś ?')
  55. d = int(input())
  56. z = c * 10 * d / 4
  57. print('Tyle spaliłes kalori')
  58. print(z)
  59. print('razem kalori z jednego ciezaru')
  60. print(s+z)
  61.  
  62.  
  63. print('ile kilogramów na lewa ?')
  64. e = int(input())
  65. print('ile razy podniosłeś ?')
  66. f = int(input())
  67. i = e * 10 * f / 4
  68. print('Tyle spaliłes kalori')
  69. print(i)
  70.  
  71. print('ile kilogramów na prawa ?')
  72. g = int(input())
  73. print('ile razy podniosłeś ?')
  74. h = int(input())
  75. j = g * 10 * h / 4
  76. print('Tyle spaliłes kalori')
  77. print(j)
  78. print('razem kalori z jednego ciezaru')
  79. print(i+j)
  80.  
  81. print('ufff teraz cięższe razem')
  82.  
  83.  
  84. print('ile kilogramów na klate ?')
  85. k = int(input())
  86. print('ile razy podniosłeś ?')
  87. l = int(input())
  88. o = k * 10 * l / 4
  89. print('Tyle spaliłes kalori')
  90. print(o)
  91.  
  92. print('ile kilogramów na klate ?')
  93. m = int(input())
  94. print('ile razy podniosłeś ?')
  95. n = int(input())
  96. p = m * 10 * n / 4
  97. print('Tyle spaliłes kalori')
  98. print(p)
  99. print('razem kalori z ciezaru')
  100. print(o+p)
  101.  
  102. print('jeszcze pompeczki i nad głowe')
  103.  
  104.  
  105.  
  106. print('ile kilogramów nad głowe ?')
  107. r = int(input())
  108. print('ile razy podniosłeś ?')
  109. t = int(input())
  110. y = r * 10 * t / 4
  111. print('Tyle spaliłes kalori')
  112. print(y)
  113.  
  114. print('ile wazysz dla statystyki pompek ?')
  115. w = int(input())
  116. print('ile razy podniosłeś sie ?')
  117. x = int(input())
  118. v = w * 10 * x / 4
  119. print('Tyle spaliłes kalori')
  120. print(v)
  121. print('razem kalori z ciezaru')
  122. print(y+v)
  123.  
  124.  
  125. print('Nowy rok co :D')
  126. print('tyle kalori razem z czego 9000 kalori to 1 kg spalony ')
  127. print(s+z+i+j+o+p+y+v)
  128.  
  129. print('Brawo')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement