i am trying to do a uni assignment and i keep getting the invalid syntax error, the error is on line 12 on the "<=", it's like this:
fight = input('fighter name:')
weight = int(input('fighter weight:'))
print('given name:{}'.format(fight))
print('given weight:{}'.format(weight))
while weight != 0 or 'end':
if weight <= 65:
print('{} is of the lightweight category.'.format(fight))
input('fighter name:')
int(input('fighter weight:'))
elif weight >= 66 and <= 72:
print('{} is of the medium weight category.'.format(fight))
input('fighter name:')
int(input('fighter weight:'))
elif weight >= 73:
print('{} is of the heavyweight category.'.format(fight))
input('fighter name:')
int(input('fighter weight:'))
else:
print("invalid weight.")
input('fighter name:')
int(input('fighter weight:'))
i do not understand why i'm getting this error, help would be appreciated.