Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- number = input('Please enter the amount of hours: ')
- type_1 = raw_input('Please enter the type: ')
- type_2 = raw_input('Please enter the type: ')
- if number <=9:
- print (2)
- elif number <=18:
- print (4)
- elif number <=27:
- print (6)
- elif number <=36:
- print (8)
- elif number <=45:
- print (8)
- if type_1 == "X":
- print (1)
- elif type_1 == "C":
- print (1.5)
- elif type_1 == "V":
- print (2)
- elif type_1 == "B":
- print (2.5)
- elif type_1 == "N":
- print (2.8)
- if type_2 == "A":
- print (1)
- elif type_2 == "S":
- print (1.5)
- elif type_2 == "D":
- print (2)
- elif type_2 == "F":
- print (2.5)
- elif type_2 == "G":
- print (2.8)
Add Comment
Please, Sign In to add comment