Guest User

Untitled

a guest
Feb 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. number = input('Please enter the amount of hours: ')
  2. type_1 = raw_input('Please enter the type: ')
  3. type_2 = raw_input('Please enter the type: ')
  4.  
  5.  
  6. if number <=9:
  7. print (2)
  8. elif number <=18:
  9. print (4)
  10. elif number <=27:
  11. print (6)
  12. elif number <=36:
  13. print (8)
  14. elif number <=45:
  15. print (8)
  16.  
  17. if type_1 == "X":
  18. print (1)
  19. elif type_1 == "C":
  20. print (1.5)
  21. elif type_1 == "V":
  22. print (2)
  23. elif type_1 == "B":
  24. print (2.5)
  25. elif type_1 == "N":
  26. print (2.8)
  27.  
  28. if type_2 == "A":
  29. print (1)
  30. elif type_2 == "S":
  31. print (1.5)
  32. elif type_2 == "D":
  33. print (2)
  34. elif type_2 == "F":
  35. print (2.5)
  36. elif type_2 == "G":
  37. print (2.8)
Add Comment
Please, Sign In to add comment