Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- length=float(input())
- width=float(input())
- if 3<=width<=length<=100:
- rows=math.trunc((length*100)/120)
- cols=math.trunc(((width*100)-100)/70)
- seats=rows*cols-3
- print(seats)
- else:
- print('Invalid combination.')
- quit()
Add Comment
Please, Sign In to add comment